You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nested_render_text doesn’t seem to be able to handle block content, so if you run the following directive on a document that contains sections, several bugs happen:
it appends nodes while running
it doesn’t return all the nodes in the included fragment
it therefore messes up the order in which things are displayed.
This doesn’t work:
MyST-Parser/myst_parser/mocking.py
Line 176 in 1038800
nested_render_text
doesn’t seem to be able to handle block content, so if you run the following directive on a document that contains sections, several bugs happen:Reproducer
(Of course I don’t just want to re-implement the include directive, my actual code includes all files in a directory)
Output:
Warning
index.md.rst:4: WARNING: Non-consecutive header level increase; H1 to H3 [myst.header]
Expected:
(no warning)
The text was updated successfully, but these errors were encountered: