Skip to content

aside directive #4

Closed
Enhancement
@Mpdreamz

Description

@Mpdreamz

Aside

Asides provide an easy way to represent content that is only indirectly related to the article’s main content. Where supported, MyST will attempt to display an {aside} as close as possible but separately from the main article, such as in the side-margin.

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

Implementation

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

Specification compliance:

  • Arguments is parsed
  • Body is parsed
  • Options:
    • label, name (string) - *Label the aside to be cross-referenced or explicitly linked
    • class (string)
  • Aliases
    • margin
    • sidebar

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