-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
129 additions
and
43 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
6 changes: 3 additions & 3 deletions
6
test/functional/makemarkdown/cases/standard/blockquote-nested-markdown.md
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
> ## This is a header. | ||
> | ||
> | ||
> 1. This is the first list item. | ||
> 2. This is the second list item. | ||
> | ||
> | ||
> Here's some example code: | ||
> | ||
> | ||
> ``` | ||
> return shell_exec("echo $input | $markdown_script"); | ||
> ``` |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
> This is a multi line blockquote test | ||
> | ||
> | ||
> With more than one line. |
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
5 changes: 3 additions & 2 deletions
5
test/functional/makemarkdown/cases/standard/github-style-at-start.html
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<pre><code>function MyFunc(a) { | ||
<pre><code> | ||
function MyFunc(a) { | ||
// ... | ||
} | ||
} | ||
</code></pre> | ||
<p>That is some code!</p> |
2 changes: 1 addition & 1 deletion
2
test/functional/makemarkdown/cases/standard/github-style-at-start.md
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
``` | ||
function MyFunc(a) { | ||
// ... | ||
// ... | ||
} | ||
``` | ||
|
||
|
6 changes: 3 additions & 3 deletions
6
test/functional/makemarkdown/cases/standard/github-style-codeblock-inside-quote.md
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
> Define a function in javascript: | ||
> | ||
> | ||
> ``` | ||
> function MyFunc(a) { | ||
> var s = '`'; | ||
> } | ||
> ``` | ||
> | ||
> | ||
> > And some nested quote | ||
> > | ||
> > | ||
> > ```html | ||
> > <div>HTML!</div> | ||
> > ``` |
4 changes: 2 additions & 2 deletions
4
test/functional/makemarkdown/cases/standard/github-style-codeblock.html
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 |
---|---|---|
|
@@ -15,6 +15,6 @@ And some HTML | |
|
||
```javascript | ||
function foo() { | ||
return 'bar'; | ||
return 'bar'; | ||
} | ||
``` |
2 changes: 1 addition & 1 deletion
2
test/functional/makemarkdown/cases/standard/github-style-linebreaks.html
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<pre><code>code can go here | ||
this is rendered on a second line | ||
this is rendered on a second line | ||
</code></pre> |
2 changes: 2 additions & 0 deletions
2
test/functional/makemarkdown/cases/standard/horizontal-rules.html
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,2 @@ | ||
<hr /> | ||
<hr> |
3 changes: 3 additions & 0 deletions
3
test/functional/makemarkdown/cases/standard/horizontal-rules.md
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,3 @@ | ||
--- | ||
|
||
--- |
4 changes: 4 additions & 0 deletions
4
test/functional/makemarkdown/cases/standard/list-doubleline.html
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,4 @@ | ||
<ul> | ||
<li><p>Bird</p></li> | ||
<li><p>Magic</p></li> | ||
</ul> |
3 changes: 3 additions & 0 deletions
3
test/functional/makemarkdown/cases/standard/list-doubleline.md
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,3 @@ | ||
- Bird | ||
|
||
- Magic |
12 changes: 12 additions & 0 deletions
12
test/functional/makemarkdown/cases/standard/list-followed-by-blockquote.html
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,12 @@ | ||
<h1 id="sometitle">some title</h1> | ||
<ol> | ||
<li>list item 1</li> | ||
<li>list item 2</li> | ||
</ol> | ||
<blockquote> | ||
<p>some text in a blockquote</p> | ||
</blockquote> | ||
<ul> | ||
<li>another list item 1</li> | ||
<li>another list item 2</li> | ||
</ul> |
9 changes: 9 additions & 0 deletions
9
test/functional/makemarkdown/cases/standard/list-followed-by-blockquote.md
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,9 @@ | ||
# some title | ||
|
||
1. list item 1 | ||
2. list item 2 | ||
|
||
> some text in a blockquote | ||
- another list item 1 | ||
- another list item 2 |
13 changes: 13 additions & 0 deletions
13
test/functional/makemarkdown/cases/standard/list-followed-by-ghcode.html
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,13 @@ | ||
<h1 id="sometitle">some title</h1> | ||
<ol> | ||
<li>list item 1</li> | ||
<li>list item 2</li> | ||
</ol> | ||
<pre><code>some code | ||
|
||
and some other line of code | ||
</code></pre> | ||
<ul> | ||
<li>another list item 1</li> | ||
<li>another list item 2</li> | ||
</ul> |
13 changes: 13 additions & 0 deletions
13
test/functional/makemarkdown/cases/standard/list-followed-by-ghcode.md
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,13 @@ | ||
# some title | ||
|
||
1. list item 1 | ||
2. list item 2 | ||
|
||
``` | ||
some code | ||
and some other line of code | ||
``` | ||
|
||
- another list item 1 | ||
- another list item 2 |
7 changes: 7 additions & 0 deletions
7
test/functional/makemarkdown/cases/standard/list-with-blockquote.html
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,7 @@ | ||
<ul> | ||
<li><p>A list item with a blockquote:</p> | ||
<blockquote> | ||
<p>This is a blockquote | ||
inside a list item.</p> | ||
</blockquote></li> | ||
</ul> |
3 changes: 3 additions & 0 deletions
3
test/functional/makemarkdown/cases/standard/list-with-blockquote.md
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,3 @@ | ||
- A list item with a blockquote: | ||
|
||
> This is a blockquote inside a list item. |
5 changes: 5 additions & 0 deletions
5
test/functional/makemarkdown/cases/standard/list-with-code.html
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,5 @@ | ||
<ul> | ||
<li><p>A list item with code:</p> | ||
<pre><code>alert('Hello world!'); | ||
</code></pre></li> | ||
</ul> |
5 changes: 5 additions & 0 deletions
5
test/functional/makemarkdown/cases/standard/list-with-code.md
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,5 @@ | ||
- A list item with code: | ||
|
||
``` | ||
alert('Hello world!'); | ||
``` |
5 changes: 5 additions & 0 deletions
5
test/functional/makemarkdown/cases/standard/multi-paragraph-list.html
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,5 @@ | ||
<ol> | ||
<li><p>This is a major bullet point.</p> | ||
<p>That contains multiple paragraphs.</p></li> | ||
<li><p>And another line</p></li> | ||
</ol> |
5 changes: 5 additions & 0 deletions
5
test/functional/makemarkdown/cases/standard/multi-paragraph-list.md
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,5 @@ | ||
1. This is a major bullet point. | ||
|
||
That contains multiple paragraphs. | ||
|
||
2. And another line |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
1. Red | ||
2. Green | ||
3. Blue | ||
1. Red | ||
2. Green | ||
3. Blue |
18 changes: 9 additions & 9 deletions
18
test/functional/makemarkdown/cases/standard/paragraphed-list-with-sublists.md
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
- foo | ||
- foo | ||
|
||
- bazinga | ||
|
||
- yeah | ||
- bar | ||
|
||
- bar | ||
|
||
1. damn | ||
|
||
2. so many paragraphs | ||
- baz | ||
|
||
- baz |
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