Skip to content

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.

Getting started [NEW!]

Documentation

CLI tools

Markdown enhancements

Functions

Setting up

Multi-file projects

Layout

Charts & diagrams

Scripting & control flow

Utilities

Slides

I/O

Native content

Value types

Built-in libraries

  • Paper: abstract, definitions, theorems, and more

Extra features

Inside Quarkdown

Clone this wiki locally