Character Escaping Examples in Zolt

Basic Escaping

Escape special characters to display them literally:

This is not a [link] but literal text. These are not {attributes} but literal braces. This is not ||inline styled|| text.

Escaping Lists

Prevent list creation:

- This is NOT a list item

  1. This is a numbered list

1. This is NOT a numbered list

Escaping Code

Display backticks and code markers:

Use the `print()` function to output text.

This is not ``` a code block.

Escaping Emphasis

Show literal asterisks and symbols:

This is **not bold**

This is //not italic//

This is __not underlined__

Escaping Headers

Prevent header creation:

# This is a level 1 heading in text

## This is a level 2 heading in text

Escaping Blockquotes

Display quote markers literally:

> This looks like a quote but isn't

Show link syntax literally:

The syntax is [text](url)

Or references: [text][ref]

Escaping Media Prefixes

Display media prefixes:

Not an image: ![alt](url.jpg)

Not a video: !![alt](video.mp4)

Not audio: ??[alt](audio.mp3)

Escaping Inline Styling

Show inline styling syntax:

This is not ||styled||{attr} text.

Escaping Variables

Display variable syntax literally:

The variable syntax is
ot shown content

Or calculations: 15

Escaping Tables

Show table syntax:

| Header 1 | Header 2 |
| --- | --- |
| Data 1 | Data 2 |

Escaping Footnotes

Display footnote syntax:

This is a footnote marker: [^1]

[^1] Not a definition.

Escaping Separators

These are not separators:

---
***
___

Best Practices

  1. Only escape when necessary
  2. Escape special characters in documentation
  3. Use code blocks for syntax examples
  4. Test your escaped content
  5. Remember: \\ escapes itself: \
  6. Use \\\\ to display 2 backslashes: \\

← Back to Examples Index