# This is a line comment — removed to end of line, in the "ignored" color.
# The # marker is a different color from the text it removes.

#[ This is a block comment.  It can span lines,
   and #[ nest ]# like this. ]#

# --- Klammer applications (@) : opening @name vs. closing name@ / bare @ ---

@i italic @  @b bold @  @tt monospace @

@sup 2 | 3 @      # positional arguments separated by |
@sup-2-3          # the abbreviated form colors only the name

@link https://example.com :text a labelled link @

A named close is handy for long arguments: @section a long body here section@

# --- Klammer definitions (@@) and system commands (@@@) ---

@@mdlh : @i Material Definition Language Handbook @ @@
@@heading.html : *arg* @@
@@@target html | HTML output | options @@@

# --- Escapes: a caret makes the next character literal (shown as plain text) ---

^@ and ^# and ^^ and ^| are literal, not delimiters.

# --- Literal klammer: @code ... code@ interior is verbatim ---
# The stray @ and # below are NOT delimiters inside a literal span:

@code
  if (a @ b) { return "# not a comment"; }
code@

# --- Whitespace operators (#- #+ #/) are not removals; shown as plain text ---

tight#-spacing    gap#+3here    break#/2line

# --- A deliberate MISMATCH: put the cursor on @open or close@ to see it turn ---
# --- red with a message (the names disagree); a matched pair boxes normally. ---

@open some content close@

## Everything from this line to the end of the file is removed (## = to EOF).
this trailing line is greyed out as removed text
