Add markdown format support (#25)

Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
This commit is contained in:
dougpagani
2020-11-30 12:51:34 -05:00
committed by GitHub
parent d1b07d9ed7
commit 2095e6ffe3
941 changed files with 37481 additions and 15 deletions
+4
View File
@@ -0,0 +1,4 @@
<blockquote>some
multiline
blockquote
</blockquote>
+1
View File
@@ -0,0 +1 @@
> some multiline blockquote
+8
View File
@@ -0,0 +1,8 @@
<pre><code>some code
</code></pre>
<pre><code data-language="javascript">
function foo() {
return 'bar';
}
</code></pre>
+9
View File
@@ -0,0 +1,9 @@
```
some code
```
```javascript
function foo() {
return 'bar';
}
```
+1
View File
@@ -0,0 +1 @@
some <code>code</code> span
+1
View File
@@ -0,0 +1 @@
some `code` span
+1
View File
@@ -0,0 +1 @@
<em>foobar</em>
+1
View File
@@ -0,0 +1 @@
*foobar*
+6
View File
@@ -0,0 +1,6 @@
<h1>foo h1</h1>
<h2>foo h2</h2>
<h3>foo h3</h3>
<h4>foo h4</h4>
<h5>foo h5</h5>
<h6>foo h6</h6>
+11
View File
@@ -0,0 +1,11 @@
# foo h1
## foo h2
### foo h3
#### foo h4
##### foo h5
###### foo h6
+3
View File
@@ -0,0 +1,3 @@
<hr />
<hr>
+3
View File
@@ -0,0 +1,3 @@
---
---
+1
View File
@@ -0,0 +1 @@
<img src="img.png" alt="an image" width="200px" height="300px" title="a title"/>
+1
View File
@@ -0,0 +1 @@
![an image](<img.png> =200pxx300px "a title")
+1
View File
@@ -0,0 +1 @@
<a href="/url" title="a title">some link</a>
+1
View File
@@ -0,0 +1 @@
[some link](</url> "a title")
+15
View File
@@ -0,0 +1,15 @@
<ul>
<li>foo</li>
<li>bar</li>
<li>baz</li>
</ul>
<ul>
<li><p>foo</p></li>
<li><p>bar</p></li>
<li>baz</li>
</ul>
<ol>
<li>one</li>
<li>2</li>
<li>three</li>
</ol>
+19
View File
@@ -0,0 +1,19 @@
- foo
- bar
- baz
<!-- -->
- foo
- bar
- baz
<!-- -->
1. one
2. 2
3. three
<!-- -->
+5
View File
@@ -0,0 +1,5 @@
<div>this is a div</div>
<label for="ipt">a label</label>
<input id="ipt" type="text">
<iframe></iframe>
<textarea>some textarea</textarea>
+9
View File
@@ -0,0 +1,9 @@
<div>this is a div</div>
<label for="ipt">a label</label>
<input id="ipt" type="text">
<iframe></iframe>
<textarea>some textarea</textarea>
+3
View File
@@ -0,0 +1,3 @@
<p>a paragraph
of multi-line
text</p>
+1
View File
@@ -0,0 +1 @@
a paragraph of multi-line text
+1
View File
@@ -0,0 +1 @@
<del>deleted text</del>
+1
View File
@@ -0,0 +1 @@
~~deleted text~~
+1
View File
@@ -0,0 +1 @@
<strong>strong text</strong>
+1
View File
@@ -0,0 +1 @@
**strong text**
+21
View File
@@ -0,0 +1,21 @@
<table>
<thead>
<tr>
<th>head 1</th>
<th>head 2</th>
<th>head 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>foo</td>
<td><em>bar</em></td>
<td>baz</td>
</tr>
<tr>
<td><del>a</del></td>
<td><strong>b</strong></td>
<td><code>cccc</code></td>
</tr>
</tbody>
</table>
+4
View File
@@ -0,0 +1,4 @@
| head 1 | head 2 | head 3 |
| ------ | ------ | ------ |
| foo | *bar* | baz |
| ~~a~~ | **b** | `cccc` |