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

View File

@ -0,0 +1,2 @@
<p><img src="./pic/pic1_50.png" alt="my image" width="100px" height="20px" /></p>
<p><img src="./pic/pic1_50.png" alt="my image2" width="100px" height="20px" /></p>

View File

@ -0,0 +1,5 @@
![my image](./pic/pic1_50.png =100pxx20px)
![my image2][1]
[1]: ./pic/pic1_50.png =100pxx20px

View File

@ -0,0 +1,6 @@
<p>foo.bar</p>
<p>www.foobar</p>
<p><a href="http://www.foobar.com">www.foobar.com</a></p>
<p><a href="http://foobar.com">http://foobar.com</a></p>
<p><a href="https://www.foobar.com/baz?bazinga=nhecos;">https://www.foobar.com/baz?bazinga=nhecos;</a></p>
<p><a href="http://www.google.com/">http://www.google.com</a></p>

View File

@ -0,0 +1,11 @@
foo.bar
www.foobar
www.foobar.com
http://foobar.com
https://www.foobar.com/baz?bazinga=nhecos;
<a href="http://www.google.com/">http://www.google.com</a>

View File

@ -0,0 +1,10 @@
<p>this is a sentence_with_mid underscores</p>
<p>this is a sentence with just_one underscore</p>
<p>this <em>should be parsed</em> as emphasis</p>
<p>this is double__underscore__mid word</p>
<p>this has just__one double underscore</p>
<p>this <strong>should be parsed</strong> as bold</p>
<p>emphasis at <em>end of sentence</em></p>
<p><em>emphasis at</em> line start</p>
<p>multi <em>line emphasis
yeah it is</em> yeah</p>

View File

@ -0,0 +1,18 @@
this is a sentence_with_mid underscores
this is a sentence with just_one underscore
this _should be parsed_ as emphasis
this is double__underscore__mid word
this has just__one double underscore
this __should be parsed__ as bold
emphasis at _end of sentence_
_emphasis at_ line start
multi _line emphasis
yeah it is_ yeah

View File

@ -0,0 +1,6 @@
<p>a <del>strikethrough</del> word</p>
<p>this should~~not be parsed</p>
<p><del>strike-through text</del></p>
<p><code>~~strikethough inside code span~~</code></p>
<p>escaped ~~strikethrough~~</p>
<p>escaped ~~strikethrough~~</p>

View File

@ -0,0 +1,11 @@
a ~~strikethrough~~ word
this should~~not be parsed
~~strike-through text~~
`~~strikethough inside code span~~`
escaped \~~strikethrough~~
escaped \~~strikethrough\~~

View File

@ -0,0 +1,8 @@
<h1 id="mythings">my things</h1>
<ul>
<li>foo</li>
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> bar</li>
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> baz</li>
<li class="task-list-item" style="list-style-type: none;"><input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;" checked> bazinga</li>
</ul>
<p>otherthings</p>

View File

@ -0,0 +1,8 @@
# my things
- foo
- [] bar
- [ ] baz
- [x] bazinga
otherthings

View File

@ -0,0 +1,5 @@
<h1 id="somemarkdown">some markdown</h1>
<p>blabla</p>
<div>This is **not parsed**</div>
<div markdown="1"><p>This is <strong>parsed</strong></p></div>
<div>This is **not parsed**</div>

View File

@ -0,0 +1,6 @@
# some markdown
blabla
<div>This is **not parsed**</div>
<div markdown="1">This is **parsed**</div>
<div>This is **not parsed**</div>

View File

@ -0,0 +1,4 @@
<p>foo *bar *baz</p>
<p>foo **bar **baz</p>
<p>foo _bar _baz</p>
<p>foo __bar __baz</p>

View File

@ -0,0 +1,7 @@
foo *bar *baz
foo **bar **baz
foo _bar _baz
foo __bar __baz

View File

@ -0,0 +1,4 @@
<p><a href="http://website.com/img@x2.jpg">http://website.com/img@x2.jpg</a></p>
<p><a href="http://website.com/img-x2.jpg">http://website.com/img-x2.jpg</a></p>
<p><a href="http://website.com/img@x2">http://website.com/img@x2</a></p>
<p><a href="http://website.com/img@.jpg">http://website.com/img@.jpg</a></p>

View File

@ -0,0 +1,7 @@
http://website.com/img@x2.jpg
http://website.com/img-x2.jpg
http://website.com/img@x2
http://website.com/img@.jpg

View File

@ -0,0 +1,2 @@
<p>a simple<br />
wrapped line</p>

View File

@ -0,0 +1,2 @@
a simple
wrapped line

View File

@ -0,0 +1 @@
<p>Your friend <del><a href="www.google.com"><strong>test*</strong></a></del> (<del><a href="www.google.com"><em>@test</em></a></del>) updated his/her description</p>

View File

@ -0,0 +1 @@
Your friend ~~[**test\***](www.google.com)~~ (~~[*@test*](www.google.com)~~) updated his/her description

View File

@ -0,0 +1,6 @@
<h2 id="markdowndoc">markdown doc</h2>
<p>you can use markdown for card documentation</p>
<ul>
<li>foo</li>
<li>bar</li>
</ul>

View File

@ -0,0 +1,5 @@
## markdown doc
you can use markdown for card documentation
- foo
- bar

View File

@ -0,0 +1,2 @@
<p>this is a link to <a href="http://www.github.com">www.github.com</a></p>
<p>this is a link to <a href="http://www.google.com">www.google.com</a></p>

View File

@ -0,0 +1,3 @@
this is a link to www.github.com
this is a link to <www.google.com>

View File

@ -0,0 +1,48 @@
<ol>
<li>One</li>
<li>Two<ul>
<li>A</li>
<li>B</li></ul></li>
<li>Three</li>
</ol>
<blockquote>
<p>this has<br />
simple linebreaks</p>
</blockquote>
<pre><code>testing
some
code
</code></pre>
<ol>
<li><p>paragraphed list</p>
<p>this belongs<br />
to the first list item</p></li>
<li><p>This text<br />
also</p></li>
</ol>
<p>simple<br />
text</p>
<ul>
<li>a list<br />
item</li>
<li>another<br />
list item</li>
</ul>
<p>simple<br />
text</p>
<ul>
<li><p>some item</p>
<p>another<br />
paragraph</p>
<ul>
<li><p>And<br />
now</p>
<p>paragraph<br />
sublist</p>
<ul>
<li><p>and<br />
even</p>
<p>another<br />
one</p></li></ul></li></ul></li>
<li><p>foo</p></li>
</ul>

View File

@ -0,0 +1,51 @@
1. One
2. Two
- A
- B
3. Three
> this has
> simple linebreaks
testing
some
code
1. paragraphed list
this belongs
to the first list item
2. This text
also
simple
text
- a list
item
- another
list item
simple
text
- some item
another
paragraph
- And
now
paragraph
sublist
- and
even
another
one
- foo

View File

@ -0,0 +1,4 @@
<p>foo烫<br />
bar</p>
<p>foo<br />
bar</p>

View File

@ -0,0 +1,5 @@
foo烫
bar
foo
bar

View File

@ -0,0 +1,3 @@
<h1 id="some-header">some header</h1>
<h1 id="some-header-with--chars">some header with &amp;+$,/:;=?@\"#{}|^~[]`\*()%.!' chars</h1>
<h1 id="another-header--with--chars">another header &gt; with &lt; chars</h1>

View File

@ -0,0 +1,5 @@
# some header
# some header with &+$,/:;=?@\"#{}|^~[]`\\*()%.!' chars
# another header > with < chars

View File

@ -0,0 +1,2 @@
<p><strong>Nom :</strong> aaaa<br />
<strong>Nom :</strong> aaa</p>

View File

@ -0,0 +1,2 @@
**Nom :** aaaa
**Nom :** aaa

View File

@ -0,0 +1 @@
<p>Just an example <a href="mailto:info@example.com">info@example.com</a> ok?</p>

View File

@ -0,0 +1 @@
Just an example info@example.com ok?

View File

@ -0,0 +1,2 @@
<p>~~test~~</p>
<p><del>test</del></p>

View File

@ -0,0 +1,3 @@
\~~test~~
~~test~~

View File

@ -0,0 +1 @@
<p>&lt;div&gt;foo&lt;/div&gt;</p>

View File

@ -0,0 +1 @@
\<div>foo\</div>

View File

@ -0,0 +1 @@
<p>Example <a href="http://example.com">http://example.com</a></p>

View File

@ -0,0 +1 @@
Example <http://example.com>

View File

@ -0,0 +1,2 @@
<p>My <a href="http://example.com" rel="noopener noreferrer" target="_blank">link</a> is <em>important</em></p>
<p>My <a href="http://example.com" rel="noopener noreferrer" target="_blank">link</a> is <strong>important</strong></p>

View File

@ -0,0 +1,3 @@
My [link](http://example.com) is _important_
My [link](http://example.com) is __important__

View File

@ -0,0 +1 @@
<p>strippers, <strong>hitler</strong>, and stalin</p>

View File

@ -0,0 +1 @@
strippers, **hitler**, and stalin

View File

@ -0,0 +1,5 @@
<h3 id="given">Given</h3>
<h3 id="when">When</h3>
<h3 id="then">Then</h3>
<h3 id="foo">foo</h3>
<h4 id="bar">bar</h4>

View File

@ -0,0 +1,11 @@
#Given
#When
#Then
foo
===
bar
---

View File

@ -0,0 +1,15 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<p>This is a <strong>markdown</strong> file</p>
<p>Converted into a full HTML document</p>
<ul>
<li>this</li>
<li>is</li>
<li>awesome</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,7 @@
This is a **markdown** file
Converted into a full HTML document
- this
- is
- awesome

View File

@ -0,0 +1,4 @@
<h1 id="simple">Просто заголовок</h1>
<h1 id="headerwithoutcurlybraces">Header without curly braces</h1>
<h1 id="cool">Headers with multiple braces {braces} {are}</h1>
<h1 id="withoutspace">Header</h1>

View File

@ -0,0 +1,4 @@
# Просто заголовок {simple}
# Header without curly braces
# Headers with multiple braces {braces} {are} {cool}
# Header{withoutspace}

View File

@ -0,0 +1 @@
<p>this email <a href="mailto:foobar@example.com">foobar@example.com</a> should not be encoded</p>

View File

@ -0,0 +1 @@
this email <foobar@example.com> should not be encoded

View File

@ -0,0 +1,7 @@
<p>this is some text</p>
<p><code>php
function thisThing() {
echo "some weird formatted code!";
}
</code></p>
<p>some other text</p>

View File

@ -0,0 +1,9 @@
this is some text
```php
function thisThing() {
echo "some weird formatted code!";
}
```
some other text

View File

@ -0,0 +1,9 @@
<ul>
<li>foo<ul>
<li>bar</li></ul></li>
</ul>
<hr />
<ul>
<li>baz<ol>
<li>bazinga</li></ol></li>
</ul>

View File

@ -0,0 +1,7 @@
* foo
* bar
---
* baz
1. bazinga

View File

@ -0,0 +1,3 @@
<p>foo🍎bar</p>
<p>foo: apple :bar</p>
<p>:foo 🍎 bar:</p>

View File

@ -0,0 +1,5 @@
foo:apple:bar
foo: apple :bar
:foo :apple: bar:

View File

@ -0,0 +1,4 @@
<p>this link <a href="http://www.example.com/some:apple:url">somelink</a></p>
<p>emoji <a href="http://www.example.com/some:apple:url">🍎</a></p>
<p><a href="http://www.example.com/some:apple:url">🍎</a></p>
<p><a href="http://www.example.com/some:apple:url">🍎</a></p>

11
node_modules/showdown/test/features/emojis/links.md generated vendored Normal file
View File

@ -0,0 +1,11 @@
this link [somelink](http://www.example.com/some:apple:url)
emoji [:apple:](http://www.example.com/some:apple:url)
[:apple:][apple]
[:apple:][]
[apple]: http://www.example.com/some:apple:url
[:apple:]: http://www.example.com/some:apple:url

View File

@ -0,0 +1,2 @@
<p>🍎 and 💋</p>
<p>💋my🍎</p>

3
node_modules/showdown/test/features/emojis/simple.md generated vendored Normal file
View File

@ -0,0 +1,3 @@
:apple: and :kiss:
:kiss:my:apple:

View File

@ -0,0 +1 @@
<p><a href="http://www.example.com/some:apple:url">http://www.example.com/some:apple:url</a></p>

View File

@ -0,0 +1 @@
http://www.example.com/some:apple:url

View File

@ -0,0 +1,2 @@
<p>this is showdown's emoji <span style="font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span></p>
<p>and this is github's emoji <img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png"></p>

View File

@ -0,0 +1,3 @@
this is showdown's emoji :showdown:
and this is github's emoji :octocat:

View File

@ -0,0 +1,6 @@
<p>url <a href="http://www.google.com">http://www.google.com</a>.</p>
<p>url <a href="http://www.google.com">http://www.google.com</a>!</p>
<p>url <a href="http://www.google.com">http://www.google.com</a>? foo</p>
<p>url (<a href="http://www.google.com">http://www.google.com</a>) bazinga</p>
<p>url [<a href="http://www.google.com">http://www.google.com</a>] bazinga</p>
<p>url <a href="http://www.google.com">http://www.google.com</a>, bar</p>

View File

@ -0,0 +1,11 @@
url http://www.google.com.
url http://www.google.com!
url http://www.google.com? foo
url (http://www.google.com) bazinga
url [http://www.google.com] bazinga
url http://www.google.com, bar

10
node_modules/showdown/test/features/ghMentions.html generated vendored Normal file
View File

@ -0,0 +1,10 @@
<p>hello <a href="https://github.com/tivie">@tivie</a> how are you?</p>
<p>this email foo@gmail.com is not parsed</p>
<p>this @mentions is not parsed</p>
<p><a href="https://github.com/john.doe">@john.doe</a></p>
<p><a href="https://github.com/john-doe">@john-doe</a></p>
<p>@.johndoe</p>
<p>@_johndoe</p>
<p>@-johndoe</p>
<p><a href="https://github.com/johndoe">@johndoe</a>.</p>
<p><a href="https://github.com/johndoe">@johndoe</a>-</p>

19
node_modules/showdown/test/features/ghMentions.md generated vendored Normal file
View File

@ -0,0 +1,19 @@
hello @tivie how are you?
this email foo@gmail.com is not parsed
this \@mentions is not parsed
@john.doe
@john-doe
@.johndoe
@_johndoe
@-johndoe
@johndoe.
@johndoe-

View File

@ -0,0 +1,2 @@
<p>Click the <strong>X</strong></p>
<p>Click the <strong>X</strong> button and then the <strong>OK</strong> button</p>

View File

@ -0,0 +1,3 @@
Click the **X**
Click the **X** button and then the **OK** button

View File

@ -0,0 +1,29 @@
<p>this is a sentence*with*mid asterisks</p>
<p>this is a sentence**with**two mid asterisks</p>
<p>this is a sentence***with***three mid asterisks</p>
<p>this is double*asterisk*mid word with another**asterisk**word</p>
<p>this is double**asterisk**mid word with another**asterisk**word</p>
<p>this is double***asterisk***mid word with another***asterisk***word</p>
<p>this is double*asterisk**mid word with another***asterisk*word</p>
<p>this is double**asterisk*mid word with another***asterisk**word</p>
<p>this is a sentence with just*one asterisk</p>
<p>this is a sentence with just**one asterisk</p>
<p>this is a sentence with just***one asterisk</p>
<p>this is double**asterisk**mid word</p>
<p>this has just**one double asterisk</p>
<p>this has just***one triple asterisk</p>
<p>this <em>should be parsed</em> as emphasis</p>
<p>this <strong>should be parsed</strong> as bold</p>
<p>this <strong><em>should be parsed</em></strong> as bold and emphasis</p>
<p>emphasis at <em>end of sentence</em></p>
<p>bold at <strong>end of sentence</strong></p>
<p>bold and emphasis at <strong><em>end of sentence</em></strong></p>
<p><em>emphasis at</em> line start</p>
<p><strong>bold at</strong> line start</p>
<p><strong><em>bold and emphasis at</em></strong> line start</p>
<p>multi <em>line emphasis
yeah it is</em> yeah</p>
<p>multi <strong>line emphasis
yeah it is</strong> yeah</p>
<p>multi <strong><em>line emphasis
yeah it is</em></strong> yeah</p>

View File

@ -0,0 +1,56 @@
this is a sentence*with*mid asterisks
this is a sentence**with**two mid asterisks
this is a sentence***with***three mid asterisks
this is double*asterisk*mid word with another**asterisk**word
this is double**asterisk**mid word with another**asterisk**word
this is double***asterisk***mid word with another***asterisk***word
this is double*asterisk**mid word with another***asterisk*word
this is double**asterisk*mid word with another***asterisk**word
this is a sentence with just*one asterisk
this is a sentence with just**one asterisk
this is a sentence with just***one asterisk
this is double**asterisk**mid word
this has just**one double asterisk
this has just***one triple asterisk
this *should be parsed* as emphasis
this **should be parsed** as bold
this ***should be parsed*** as bold and emphasis
emphasis at *end of sentence*
bold at **end of sentence**
bold and emphasis at ***end of sentence***
*emphasis at* line start
**bold at** line start
***bold and emphasis at*** line start
multi *line emphasis
yeah it is* yeah
multi **line emphasis
yeah it is** yeah
multi ***line emphasis
yeah it is*** yeah

View File

@ -0,0 +1,7 @@
<p><strong>Bold:</strong></p>
<p><strong>Bold</strong></p>
<p><strong>Bold</strong>:</p>
<ul>
<li><strong>Bold</strong><ul>
<li>Tier 2</li></ul></li>
</ul>

View File

@ -0,0 +1,8 @@
**Bold:**
**Bold**
**Bold**:
- **Bold**
- Tier 2

View File

@ -0,0 +1,12 @@
<p>some <em>foo</em> yeah</p>
<p>some <strong>foo</strong> yeah</p>
<p>some <strong><em>foo</em></strong> yeah</p>
<p>some word_foo_yeah</p>
<p>some word__foo__yeah</p>
<p>some word___foo___yeah</p>
<p>strippers, <em>hitler</em>, and stalin</p>
<p>strippers, <strong>hitler</strong>, and stalin</p>
<p>strippers, <strong><em>hitler</em></strong>, and stalin</p>
<p><strong><em>multiple</em></strong> italics and bolds in a <strong><em>paragraph</em></strong></p>
<p><strong>multiple</strong> bolds in a <strong>paragraph</strong></p>
<p><em>multiple</em> italics in a <em>paragraph</em></p>

View File

@ -0,0 +1,23 @@
some _foo_ yeah
some __foo__ yeah
some ___foo___ yeah
some word_foo_yeah
some word__foo__yeah
some word___foo___yeah
strippers, _hitler_, and stalin
strippers, __hitler__, and stalin
strippers, ___hitler___, and stalin
___multiple___ italics and bolds in a ___paragraph___
__multiple__ bolds in a __paragraph__
_multiple_ italics in a _paragraph_

View File

@ -0,0 +1,7 @@
<p><strong>Bold:</strong></p>
<p><strong>Bold</strong></p>
<p><strong>Bold</strong>:</p>
<ul>
<li><strong>Bold</strong><ul>
<li>Tier 2</li></ul></li>
</ul>

View File

@ -0,0 +1,8 @@
__Bold:__
__Bold__
__Bold__:
- __Bold__
- Tier 2

View File

@ -0,0 +1,8 @@
<p><strong>some</strong> markdown text</p>
<ul>
<li>a list</li>
<li>another list ---</li>
<li>and stuff</li>
</ul>
<p>a paragraph --- with dashes</p>
<hr />

View File

@ -0,0 +1,16 @@
---
title: This is the document title
language: en
author: Tivie
---
**some** markdown text
- a list
- another list ---
- and stuff
a paragraph --- with dashes
---

View File

@ -0,0 +1,16 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>This is the document title</title>
<meta charset="utf-8">
<meta name="language" content="en">
<meta name="author" content="Tivie">
<meta name="contributors" content="John, Mary, Steve">
<meta name="description" content="This is a long text and so it spans on multiple lines. It must be indented, for showdown to parse it correctly. Markdown **such as bold** is not parsed and it will be rendered as plain text.">
<meta name="date" content="01-01-2010">
<meta name="keywords" content="foo, bar, baz">
</head>
<body>
<p><strong>some</strong> markdown text</p>
</body>
</html>

View File

@ -0,0 +1,16 @@
«««
title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown **such as bold** is not parsed
and it will be rendered as plain text.
date: 01-01-2010
keywords: foo, bar, baz
»»»
**some** markdown text

View File

@ -0,0 +1,22 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>This is the document title</title>
<meta charset="utf-8">
<meta name="language" content="en">
<meta name="author" content="Tivie">
<meta name="contributors" content="John, Mary, Steve">
<meta name="keywords" content="foo, bar, baz">
</head>
<body>
<hr />
<p>description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown <strong>such as bold</strong> is not parsed
and it will be rendered as plain text.</p>
<h2 id="date01012010">date: 01-01-2010</h2>
<p><strong>some</strong> markdown text</p>
</body>
</html>

View File

@ -0,0 +1,18 @@
«««
title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
keywords: foo, bar, baz
»»»
---
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown **such as bold** is not parsed
and it will be rendered as plain text.
date: 01-01-2010
---
**some** markdown text

View File

@ -0,0 +1,22 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>This is the document title</title>
<meta charset="utf-8">
<meta name="language" content="en">
<meta name="author" content="Tivie">
<meta name="contributors" content="John, Mary, Steve">
<meta name="keywords" content="foo, bar, baz">
</head>
<body>
<hr />
<p>description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown <strong>such as bold</strong> is not parsed
and it will be rendered as plain text.</p>
<h2 id="date01012010">date: 01-01-2010</h2>
<p><strong>some</strong> markdown text</p>
</body>
</html>

View File

@ -0,0 +1,18 @@
---
title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
keywords: foo, bar, baz
---
---
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown **such as bold** is not parsed
and it will be rendered as plain text.
date: 01-01-2010
---
**some** markdown text

View File

@ -0,0 +1,15 @@
<hr />
<p>title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown <strong>such as bold</strong> is not parsed
and it will be rendered as plain text.
date: 01-01-2010
keywords: foo, bar, baz</p>
<hr />
<p><strong>some</strong> markdown text</p>

View File

@ -0,0 +1,18 @@
---
title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown **such as bold** is not parsed
and it will be rendered as plain text.
date: 01-01-2010
keywords: foo, bar, baz
---
**some** markdown text

View File

@ -0,0 +1 @@
<p>some <strong>text</strong></p>

View File

@ -0,0 +1,6 @@
«««
foo: bar
baz: bazinga
»»»
some **text**

View File

@ -0,0 +1 @@
<p><strong>some</strong> markdown text</p>

View File

@ -0,0 +1,16 @@
«««
title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown **such as bold** is not parsed
and it will be rendered as plain text.
date: 01-01-2010
keywords: foo, bar, baz
»»»
**some** markdown text

View File

@ -0,0 +1 @@
<p><strong>some</strong> markdown text</p>

View File

@ -0,0 +1,16 @@
---
title: This is the document title
language: en
author: Tivie
contributors: John, Mary, Steve
description: This is a long text and so it
spans on multiple lines.
It must be indented,
for showdown to parse it correctly.
Markdown **such as bold** is not parsed
and it will be rendered as plain text.
date: 01-01-2010
keywords: foo, bar, baz
---
**some** markdown text

View File

@ -0,0 +1 @@
<p><strong>some</strong> markdown text</p>

View File

@ -0,0 +1,9 @@
---YAML
foo: bar
baz:
- bazinga
- bling
- blang
---
**some** markdown text

View File

@ -0,0 +1 @@
<p>this link is in the <a href="#same-page">same page</a></p>

Some files were not shown because too many files have changed in this diff Show More