Skip to content

code-cell directive #8

Closed

Description

@Mpdreamz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authoring

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions