Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.0 KiB
56 lines
1.0 KiB
10 years ago
|
[test]: http://google.com/ "Google"
|
||
|
|
||
|
# A heading
|
||
|
|
||
|
Just a note, I've found that I can't test my markdown parser vs others.
|
||
|
For example, both markdown.js and showdown code blocks in lists wrong. They're
|
||
|
also completely [inconsistent][test] with regards to paragraphs in list items.
|
||
|
|
||
|
A link. Not anymore.
|
||
|
|
||
|
<aside>This will make me fail the test because
|
||
|
markdown.js doesnt acknowledge arbitrary html blocks =/</aside>
|
||
|
|
||
|
* List Item 1
|
||
|
|
||
|
* List Item 2
|
||
|
* New List Item 1
|
||
|
Hi, this is a list item.
|
||
|
* New List Item 2
|
||
|
Another item
|
||
|
Code goes here.
|
||
|
Lots of it...
|
||
|
* New List Item 3
|
||
|
The last item
|
||
|
|
||
|
* List Item 3
|
||
|
The final item.
|
||
|
|
||
|
* List Item 4
|
||
|
The real final item.
|
||
|
|
||
|
Paragraph.
|
||
|
|
||
|
> * bq Item 1
|
||
|
> * bq Item 2
|
||
|
> * New bq Item 1
|
||
|
> * New bq Item 2
|
||
|
> Text here
|
||
|
|
||
|
* * *
|
||
|
|
||
|
> Another blockquote!
|
||
|
> I really need to get
|
||
|
> more creative with
|
||
|
> mockup text..
|
||
|
> markdown.js breaks here again
|
||
|
|
||
|
Another Heading
|
||
|
-------------
|
||
|
|
||
|
Hello *world*. Here is a [link](//hello).
|
||
|
And an image ![alt](src).
|
||
|
|
||
|
Code goes here.
|
||
|
Lots of it...
|