-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fails to rewrap a markdown file if there is a commented-out code block #288
Comments
stkb
added a commit
that referenced
this issue
Nov 29, 2021
Scenario: line containing just `<!--` after a blank line. The non-text parser was starting a block on the blank line and continuing its block on the `<!--` line since it was also non-text. Now the non-text parser only ever makes a 1-line block so that each new line can be fully evaluated by the language parser.
Thanks for the test case! This will be fixed in the next version. |
stkb
added
the
in pre-release version
Is in pre-release version but not in stable yet
label
Nov 29, 2021
Thanks! |
stkb
added a commit
that referenced
this issue
Dec 19, 2021
Scenario: line containing just `<!--` after a blank line. The non-text parser was starting a block on the blank line and continuing its block on the `<!--` line since it was also non-text. Now the non-text parser only ever makes a 1-line block so that each new line can be fully evaluated by the language parser.
stkb
added a commit
that referenced
this issue
Jan 14, 2022
- New architecture (still WIP) with performance increase. - Markdown: new parser that fixes many small bugs (inc #288), as well as supporting: - Front matter header (#277, #294) - Link reference definitions (#63, #93) - Footnotes (#188) - ReStructuredText support (standalone & for Python, almost complete) (#88). - Julia: support `#= ... =#` block comments (#302) - Visual Studio: Wrap to rulers generated from .editorconfig by the Editor Guidelines extension (thereby indirectly supporting .editorconfig) (#300).
Fixed in v1.16.0 |
stkb
removed
the
in pre-release version
Is in pre-release version but not in stable yet
label
Jan 14, 2022
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I've attached a markdown file that exhibits this bug. The paragraphs after a commented-out code block fail to rewrap, but the paragraphs before are fine.
test.md
The text was updated successfully, but these errors were encountered: