-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the problem
In case of a colon fence:
:::{NOTE}
README.md should contain the component or package name in it's title.
Using only README as title will lead to lots of "README" items in the outline of the generated documentation.
:::
mdformat produces:
:::\{NOTE}
README.md should contain the component or package name in it's title.
Using only README as title will lead to lots of "README" items in the outline of the generated documentation.
:::
Ideally, mdformat with mdformat_myst would respect this syntax and not escape it.
To me, it is not even clear why mdformat escapes curly brackets in the first place.
Link to your repository or website
No response
Steps to reproduce
- "pip install mdformat_myst"
- Put the above example in a .md file
- run "mdformat filename.md"
The version of Python you're using
3.8
Your operating system
Ubuntu 20.04
Versions of your packages
mdformat==0.7.10
mdformat_frontmatter==0.4.1
mdformat_myst==0.1.4
mdformat_tables==0.4.1
Additional context
No response
dylan-thomas832, isidentical, cletomartin, bilke, kytta and 8 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request