Plain text

Details

Note

Characters inside literal blocks are not escaped.

These characters are escaped anywhere.

  • #: number sign [1]

  • $: dollar sign [2]

  • *: asterisk [3]

  • <: less-than sign [4]

  • >: greater-than sign [5]

  • \: backslash [6]

  • _: underscore [7]

  • `: backtick [8]

  • ~: tilde [9]

These characters are escaped if they are at the start of a line.

  • +: plus sign [10]

  • -: hyphen-minus [11]

  • =: equals sign [12]

Examples

Standard escape characters

Target to escape are ...

- Dollar sign ($) is the math mode delimiter.
- Asterisk (\*) is mark for strong text.
- Bracket signs (< and >) are used as label.
- Backslash (\\) is escape character.
- Underscore (_) is mark for emphasized text.
- Backtick (`) is mark for raw text.
- Tilde (~) represents a non-breaking space.
Target to escape are ...

- Dollar sign (\$) is the math mode delimiter.
- Asterisk (\*) is mark for strong text.
- Bracket signs (\< and \>) are used as label.
- Backslash (\\) is escape character.
- Underscore (\_) is mark for emphasized text.
- Backtick (\`) is mark for raw text.
- Tilde (\~) represents a non-breaking space.

Head-only escape characters

= is heading symbol in Typst. The "=" in the text is not escaped.

\- is enumerated-list symbol in Typst.
\+ is numbered-list symbol in Typst.

The "-" and "+" characters at the beginning of a line must also be escaped in reStructuredText.
\= is heading symbol in Typst. The "=" in the text is not escaped.

\- is enumerated-list symbol in Typst.
\+ is numbered-list symbol in Typst.

The "-" and "+" characters at the beginning of a line must also be escaped in reStructuredText.

Footnotes