Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline code fences are buggy #20

Open
agvxov opened this issue Oct 18, 2024 · 0 comments
Open

Multiline code fences are buggy #20

agvxov opened this issue Oct 18, 2024 · 0 comments

Comments

@agvxov
Copy link

agvxov commented Oct 18, 2024

To me it seems, the bugs I found must root from fenced code being processed like regular text.
Below are examples files that produce bugs. Hopefully they are easier to interpret than a description would be.

# Bug

## The following code block swallows the rest of the file

\```
<not-supposed-to-be-a-tag-but-syntax-that-happens-to-resemble-a-tag>
not sure if thats relevant; only works (as in, breaks) if the code block is multi-line
\```

this and the code block above will not show up
# Bug2

\```
and if there is an empty line withing the fence

the whole thing fails to render
\```

Notes:

  • version 1.0.1
  • sorry, i dont know how to properly escape 3 backticks withing markdown, please pretend the '\'s are absent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant