Comments (4)
Hmm, @dvv mentioned this the other day in a line comment. It looks like markdown.pl ensures a trailing \n for some reason, but I think you guys are right. It is ugly. I'll have marked slice off the trailing line feed.
from marked.
Fixed: c8f26ac
Also pushed to npm.
from marked.
Also, I'm assuming you were referring to code blocks when you posted this. Not blockquotes. Blockquotes don't grab the trailing line feeds. Let me know if you meant otherwise.
from marked.
It's ok now, thank you for fix.
from marked.
Related Issues (20)
- Heading doesn't contain the `id` HOT 2
- Issue to convert markdown if there are html tags before markdown HOT 1
- Bold hyper link with two * symbols causes one to be visible after parsing and removes space HOT 1
- Parsing error when running eslint HOT 4
- strong tag invalid when it contains % HOT 1
- Pre tags will be nested inside the code block HOT 2
- Private identifiers are only available when targeting ECMAScript 2015 and higher. HOT 1
- **xxx: * * No<strong>tags added HOT 1
- Using blobs with walkTokens results in stripped img src HOT 4
- Won't load on safari HOT 2
- marked.parseInline() returns string | Promise<string> even when { async: false } HOT 4
- Code block inside code block HOT 1
- id disapear after markdown parsing HOT 1
- use <br> with CRLF line endings wrong output HOT 14
- Handle [!NOTE] HOT 1
- v11.0.0. yields "Uncaught Error: renderer 'options' does not exist" in code that worked in versions up to v10.0.0 HOT 3
- Task List, Unordered List and Blockquote Bugs, along with Suggestions for Improvement HOT 2
- Proposal: mark-down html element HOT 1
- Marked treats tabs and spaces differently in lists
- Error: renderer 'options' does not exist HOT 1
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 marked.