Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code-cell directive #8

Closed
12 tasks
Tracked by #2
Mpdreamz opened this issue Nov 6, 2024 · 0 comments · Fixed by #58
Closed
12 tasks
Tracked by #2

code-cell directive #8

Mpdreamz opened this issue Nov 6, 2024 · 0 comments · Fixed by #58
Labels
authoring Relates to our markdown parser

Comments

@Mpdreamz
Copy link
Member

Mpdreamz commented Nov 6, 2024

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.
@Mpdreamz Mpdreamz added enhancement authoring Relates to our markdown parser and removed enhancement labels Nov 6, 2024
@Mpdreamz Mpdreamz linked a pull request Nov 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Relates to our markdown parser
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant