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
We had a case where we wanted to use a secondary paragraph in a numbered list, like this:
1. One
2. Two
Second paragraph
This is normally rendered like this:
One
Two
Second paragraph
But docs-builder doesn't produce the expected result:
You can see in the marked.js lexer output that the leading whitespace before the "Second paragraph" is not preserved in the token, which confuses our parsing code.
To fix this, I think we'd need to have some extra whitespace accompany the space token or something so that the indent is preserved for the text token that follows it.
As a workaround, we can use:
1. One
2. Two<br/><br/>Second paragraph
The text was updated successfully, but these errors were encountered:
We had a case where we wanted to use a secondary paragraph in a numbered list, like this:
This is normally rendered like this:
One
Two
Second paragraph
But docs-builder doesn't produce the expected result:
You can see in the marked.js lexer output that the leading whitespace before the "Second paragraph" is not preserved in the token, which confuses our parsing code.
To fix this, I think we'd need to have some extra whitespace accompany the
space
token or something so that the indent is preserved for thetext
token that follows it.As a workaround, we can use:
The text was updated successfully, but these errors were encountered: