-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed handling of non-separated block elements
improved markdown handling of block elements that are not separated by a blank line. fixes #27
- Loading branch information
Showing
7 changed files
with
148 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<h1>this is to test dense blocks (no newlines between them)</h1> | ||
<hr /> | ||
<h2>what is Markdown?</h2> | ||
<p>see <a href="http://en.wikipedia.org/wiki/Markdown">Wikipedia</a></p> | ||
<h2>a h2</h2> | ||
<p>paragraph</p> | ||
<p>this is a paragraph, not a headline or list | ||
next line | ||
- whoo</p> | ||
<p>par</p> | ||
<pre><code>code | ||
code | ||
</code></pre> | ||
<p>par</p> | ||
<h3>Tasks list</h3> | ||
<ul> | ||
<li>list items</li> | ||
</ul> | ||
<h2>headline1</h2> | ||
<blockquote><p>quote | ||
quote</p> | ||
</blockquote> | ||
<h2>headline2</h2> | ||
<hr /> | ||
<h1>h1</h1> | ||
<h2>h2</h2> | ||
<hr /> | ||
<h3>h3</h3> | ||
<ol> | ||
<li>ol1</li> | ||
<li>ol2</li> | ||
</ol> | ||
<h4>h4</h4> | ||
<ul> | ||
<li>listA</li> | ||
<li>listB</li> | ||
</ul> | ||
<h5>h5</h5> | ||
<h6>h6</h6> | ||
<hr /> | ||
<hr /> | ||
<h2>changelog 1</h2> | ||
<ul> | ||
<li>17-Feb-2013 re-design</li> | ||
</ul> | ||
<hr /> | ||
<h2>changelog 2</h2> | ||
<ul> | ||
<li>17-Feb-2013 re-design</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# this is to test dense blocks (no newlines between them) | ||
|
||
---- | ||
## what is Markdown? | ||
see [Wikipedia][] | ||
|
||
a h2 | ||
---- | ||
paragraph | ||
|
||
this is a paragraph, not a headline or list | ||
next line | ||
- whoo | ||
|
||
par | ||
code | ||
code | ||
par | ||
|
||
### Tasks list | ||
- list items | ||
|
||
headline1 | ||
--------- | ||
> quote | ||
> quote | ||
[Wikipedia]: http://en.wikipedia.org/wiki/Markdown | ||
headline2 | ||
--------- | ||
|
||
---- | ||
# h1 | ||
## h2 | ||
--- | ||
### h3 | ||
1. ol1 | ||
2. ol2 | ||
|
||
#### h4 | ||
- listA | ||
- listB | ||
|
||
##### h5 | ||
###### h6 | ||
-------- | ||
|
||
---- | ||
|
||
## changelog 1 | ||
|
||
* 17-Feb-2013 re-design | ||
|
||
---- | ||
## changelog 2 | ||
* 17-Feb-2013 re-design |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
<!-- foo --> | ||
<p>Code:</p> | ||
<pre><code><hr /> | ||
|
||
</code></pre> | ||
<p>Hr's:</p> | ||
<hr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters