Skip to content

Commit 877b80c

Browse files
authored
Fix a rendering issue in the API docs (#180)
1 parent ba5c56c commit 877b80c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/using/use_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Token(type='paragraph_close', tag='p', nesting=-1, attrs=None, map=None, level=0
235235

236236
The `myst_parser.docutils_renderer.DocutilsRenderer` converts a token directly to the `docutils.document` representation of the document, converting roles and directives to a `docutils.nodes` if a converter can be found for the given name.
237237

238-
```python
238+
````python
239239
from myst_parser.main import to_docutils
240240

241241
document = to_docutils("""
@@ -253,7 +253,7 @@ content
253253
""")
254254

255255
print(document.pformat())
256-
```
256+
````
257257

258258
```xml
259259
<document source="notset">

0 commit comments

Comments
 (0)