Skip to content

embed directive #11

Closed
Enhancement
@Mpdreamz

Description

@Mpdreamz

Embed

Kind Link
Reference https://mystmd.org/guide/directives#directive-embed
Documentation https://mystmd.org/guide/embed

The embed directive allows you to duplicate content from another part of your project. This can also be done through the figure directive.

Implementation

  • Parses directives and aliases
  • Emits HTML
  • Unit tests
  • Validation (emits, warnings and errors).

Specification compliance:

  • Arguments is not parsed and reference a known label
  • Body is not parsed and treated as raw string
  • Options:
    • remove-input (boolean) - If embedding a Jupyter Notebook cell, remove the input of the cell.
    • remove-output (boolean) - If embedding a Jupyter Notebook cell, remove the output of the cell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authoringRelates to our markdown parser

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions