Comments (3)
This is expected behavior.
Here's a quote from the specification that should explain it:
The only restrictions are that block-level HTML elements — e.g.
<div>
,<table>
,<pre>
,<p>
, etc. — must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces. Markdown is smart enough not to add extra (unwanted)<p>
tags around HTML block-level tags.
from parsedown.
Thank you.
from parsedown.
You are welcome :)
from parsedown.
Related Issues (20)
- Maximum image size? HOT 2
- Nested Elements in the same Level
- Multi languagal HOT 1
- How to add class to list items?
- How to change the context in extensions?
- 187 ist die Gang
- Video Support HOT 1
- Bug: Uninitialized string offset: 1
- [bug] embeded <style> tag gets treated as text after the first code block
- image width HOT 1
- parsing email HOT 1
- lists not rendered properly with line()
- setSafeMode prevents multiple line breaks
- Parsedown extension to open in new window HOT 1
- Typo? `steam` -> `stream` HOT 1
- Allowing the spaces in start of lines?
- Add support for the new Github Markdown extension "Alerts"
- Strip markdown?
- I tried executing the example code in the README as is, but it did not work. HOT 1
- Syntax highlighting support? 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 parsedown.