Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
import mdformattext = """
# My Title
```{admonition} Note
This is a MyST directive.
```
:::{list-table}
- - name
- age
- - Jean Doe
- 40
:::
"""
print(text)
# My Title
```{admonition} Note
This is a MyST directive.
```
:::{list-table}
- - name
- age
- - Jean Doe
- 40
:::
print(
mdformat.text(
text,
extensions={"myst"},
#codeformatters={"python", "rust"},
)
)# My Title
```{admonition} Note
This is a MyST directive.
```
:::\{list-table}
- - name
- age
- - Jean Doe
- 40
:::