Comments (2)
One \r\n
should be there (the parser implies a newline in the source even if there is none), however the second one might be a bug. I will see if the second one can be removed.
from commonmark.net.
Yep, just checked try.commonmark.org, and the JavaScript reference implementation does add a new line. When textarea.val()
is "and"
, the result is "<p>and</p>\n"
. Okay, actually it's '<p data-sourcepos="1:1-1:3">and</p>\n'
, but that's beside the point.
Pain point -- I'm inserting a preprocessor for Multimarkdown tables and MarkUpDown multiline tables, and if I convert each cell's contents "on their own" so that they can contain Markdown, I get that extra newline, which makes the resulting table code parser unfriendly if there's whitespace and an empty line, but a Trim()
with each convert is easy enough.
Thanks! Glad there was at least one valid improvement from the issue report!
from commonmark.net.
Related Issues (20)
- Support for target attribute for links HOT 2
- Extend CommonMark.Net with custom rules HOT 1
- - [ ] Doesn't render a checkbox HOT 1
- ASPNET Core 1.1 - You must add a reference to assembly 'mscorlib HOT 3
- CommonMark.CommonMarkConvert.Convert() adds two trailing CR/LFs HOT 1
- Nested parsed as List-List-List, always one list to much HOT 10
- How is syntax highlighting expected to work? HOT 3
- Nested list creating extra list when using tab indent not yet fixed HOT 1
- Image source containing spaces are not supported HOT 1
- Some KUDOS to you :) - && a feature request HOT 2
- Question Re AST - Not Issue HOT 1
- Cannot nest bold and italics
- Github style line breaks? HOT 1
- Pipe tables are not created when converting to HTML HOT 5
- Output of CommonMarkConverter.Convert("\\&") is "<p>&amp;</p>" HOT 1
- Benchmark with markdig HOT 1
- Bold, Italic, and monospace don't seem to be working for me. HOT 2
- 1111
- Sorry, noob question: Can I use this for Console.Program? HOT 2
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.net.