jgm / jgm/commonmark-hs

Feature request: support MyST directives and roles

Open
#100 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
145
Forks
38
PR merge metrics
No merged PRs in 30d

Description

MyST (Markedly Structured Text) is a reStructuredText-inspired superset of CommonMark. It comes with two major additions: [directives and roles](https://myst.tools/docs/mystjs/syntax-overview):

- **Directives** are code blocks with a special attribute syntax:
```` markdown
``` {directiveName} arg1 arg2
Contents
```
````
- **Roles** are similar to the attributes extension, but come before the inline code:
```` markdown
{role}`text`
````

MyST is [supported](https://jupyterbook.org/en/stable/content/myst.html) by the Jupyter Book project.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.