This document includes all major features of the lex language to serve as a comprehensive "kitchensink" regression test for the parser, as noted in @spec2025, pp. 45-46. {{paragraph}}
This is a two-lined paragraph. First, a simple definition at the root level. {{paragraph}}
This definition contains a paragraph and a list to test mixed content at the top level. {{definition}}
This is a marker annotation at the root level, attached to the definition above.
This session acts as the main container for testing nested structures. It starts with a simple paragraph. {{paragraph}}
This is a single-line annotation inside the session.
This is a second-level session containing a definition and a list with nested content. {{paragraph}}
This definition is inside a nested session and contains a list. {{definition}}
This list item contains a nested paragraph. {{paragraph}}
A paragraph back at the first level of nesting. {{paragraph}}
// This is a verbatim block with code.
function example() {
return "lex";
}This session tests annotations with block content and marker-style verbatim blocks. {{paragraph}}
This is a block annotation. {{paragraph}}
It contains a paragraph and a list. {{paragraph}}
Final paragraph at the end of the document. {{paragraph}}