Comments (1)
That behavior is intentional. According to the CommonMark spec:
Hard line breaks are for separating inline content within a block. Neither syntax for hard line breaks works at the end of a paragraph or other block element
See https://spec.commonmark.org/0.29/#hard-line-breaks, as well as https://babelmark.github.io/?text=%23+Hello%0A%5C%0A%5C%0A%23%23+Hello+again showing how all CommonMark-compliant parsers behave this way.
from commonmark.
Related Issues (20)
- Weird glitch with Footnote Extension HOT 3
- Code blocks sometimes don't render first character HOT 1
- Question: Disable some elements HOT 1
- Allow setting attributes without values in Attributes extension HOT 1
- Heading levels HOT 3
- Algolia Search Not Giving Any Results HOT 1
- LinkRenderer always adding `rel="noopener noreferrer"` when opening in new window HOT 4
- Delimeter processor doesn't run in links and images HOT 3
- Delimiter processor cannot have a space right after opener and/or before closer HOT 1
- Weird interaction of code block with other block parsers HOT 1
- Add newer GFM features HOT 3
- Exception when setting unordered_list_markers; exception when *not* setting unordered_list_markers HOT 1
- Can it compare two md contents?
- Add support for github admonition HOT 1
- HeadingPermalinkExtension does not percent-encode CJK names, but commonmark does percent-encode CJK URLs
- addRenderer and addExtension inconsistency HOT 2
- HeadingPermalinkRenderer Accessibility HOT 4
- Maximum execution time exceeded in Parser/Cursor.php when processing large base64 string.
- FencedCodePar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commonmark.