Skip to content

Colon Directives / Divs #13

@rowanc1

Description

@rowanc1

Colon fences are in use in all of the implementations of MyST, however, are not yet defined in the myst-spec.
We should add these and document the current behaviour that we can then improve upon in the future.

The colon_fence extension [..] works exactly the same as normal ``` code fences, but using ::: delimiters.

:::{admonition} The title
:class: note

This note contains *Markdown*
:::

E.g. documented in JupyterBook here:

I think that this needs to come in before #12, as that may require colon fences.

Some text that I have used on when to use each syntax:

Pointers to other projects:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions