Description
Code-Cell
Kind | Link |
---|---|
Reference | https://mystmd.org/guide/directives#directive-code |
Documentation | ? |
An executable code cell
Implementation
- Parses directives and aliases
- Emits HTML
- Unit tests
- Validation (emits, warnings and errors).
Specification compliance:
- Arguments is optional
- Body is treated as raw string
- Treat as code directive #7 for now and emit warning for its usage.
- Options:
-
label, name
(string) - Label the code to be cross-referenced or explicitly linked to. -
enumerated, numbered
(boolean) - Turn on/off the numbering for the specific code -
enumerator, number
(string) - Explicitly set the code number -
tags, tags
(string)
A comma-separated list of tags to add to the cell, for example, remove-input or hide-cell.
-