Open jdknight opened 4 months ago
Attention: Patch coverage is 96.29630%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 90.14%. Comparing base (
d3d7fbb
) to head (08f1afa
).
Files | Patch % | Lines |
---|---|---|
myst_parser/mdit_to_docutils/base.py | 96.29% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Provides the ability to build docutils' line-block nodes if an inline element contains hardbreaks. When a hardbreak is detected as a child of an inline token, a line-block will be created and child tokens will be rendered into a prepared line node. Child nodes are placed into a line node until the next hardbreak is detected, where a new line node is created to hold the next child set. The process repeats until all children are processed.
This change is in relation to https://github.com/executablebooks/MyST-Parser/issues/877. The change should allow any translator type to handle these line breaks, without requiring the raw directive.
With a document:
Example renderings:
(HTML)
(PDF)
(Confluence)