CodeBlockDirektive
CodeBlockDirektive is a directive used in certain templating and documentation systems to mark and process blocks of source code within documents. The directive associates a language tag with a code block, enabling consistent rendering, syntax highlighting, and, in some implementations, execution or extraction of the enclosed code. It is designed to be language-agnostic and is supported by processors that render technical documentation and wiki pages.
Usage and syntax: A CodeBlockDirektive block begins with a header line that specifies the language and optional
Semantics: In static rendering, the directive primarily affects presentation, such as syntax highlighting and indentation. In
CodeBlockDirektive language="Python" line_numbers=true
CodeBlockDirektive language="Shell" executable=false
Compatibility and notes: Implementations vary and the directive is not part of a formal standard. Some