-
-
Notifications
You must be signed in to change notification settings - Fork 212
Line breaks
Giorgio Garofalo edited this page Jul 30, 2025
·
1 revision
Quarkdown follows the standard Markdown specification, hence soft line breaks can be created by ending a line with two or more spaces:
In the following snippet, a whitespace character is represented by
␣
for clarity.
First line␣␣
Second line
This syntax, however, is not always ideal. It is ambiguous and can lead to confusion. Additionally, some editors may unexpectedly trim trailing spaces, removing the intended line breaks.
Some Markdown users suggest using explicit
<br>
HTML tags. Quarkdown, however, discourages direct HTML injection.
As an alternative, Quarkdown provides the .br
function.
First line .br
Second line
A newline is not mandatory:
First line .br Second line
There are no special conventions regarding the preferred approach to break lines. Any of these methods can be chosen based on personal preference.
- Figures
- Image size
- TeX formulae
- Table caption
- Code caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Cross-references
- Page breaks
- Text symbols (text replacement)
- Document metadata
- Theme
- CSS
- Fonts
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Paragraph style
- Caption position
- Table of contents
- Bibliography
- Footnotes
- Stacks (row, column, grid)
- Container
- Align
- Float
- Figure
- Clip
- Box
- Collapsible
- Landscape
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Generators
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more