mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
9f8c7199ea
* startrefactoring the event system * refactor: blockquotes, code blocks and links refactored * refactor codeblock to new event system * refactor subparser until ghcode to new events * finish adating ghcodeblock to new event * add headings to new events * add image to event system * add emphasisAndStrong to event system * fix wrong event name in emphasisAndStrong onEnd event * spanGamut and build * showdown.helper.event refactored to showdown.Event * partial * add links * add metadata * add strikethrough and table * build * add underline * add unescapeSpecialChars * small refactoring * remove old tables parser * add lists * add simple event trigger tests * build * fix browserstack * fix browserstack * remove testing for ie11 and bumped firefox min version to 45 * fixes and closes #920 * build
83 lines
649 B
Markdown
83 lines
649 B
Markdown
# ATX h1
|
|
|
|
## ATX h2
|
|
|
|
### ATX h3
|
|
|
|
#### ATX h4
|
|
|
|
##### ATX h5
|
|
|
|
###### ATX h6
|
|
|
|
setext h1
|
|
----------
|
|
|
|
setext h2
|
|
==========
|
|
|
|
some paragraph
|
|
|
|
*italic*
|
|
|
|
**bold**
|
|
|
|
***bold and italic***
|
|
|
|
__underline__
|
|
|
|
___superunderline___
|
|
|
|
~~strikethrough~~
|
|
|
|
[link](foo.com)
|
|
|
|
|[img](foo.com/img.jpg)
|
|
|
|
some `code line`
|
|
|
|
---
|
|
|
|
some http://autolink.com autolink
|
|
|
|
> blockquote
|
|
|
|
other paragraph
|
|
|
|
code
|
|
block
|
|
|
|
```javascript
|
|
gh codeblock
|
|
```
|
|
|
|
@mentions
|
|
|
|
- ul 1
|
|
- ul 2
|
|
- ul 3
|
|
|
|
other paragraph
|
|
|
|
1. ol 1
|
|
2. ol 2
|
|
3. ol 3
|
|
|
|
foo
|
|
|
|
- [ ] task item 1
|
|
- [X] task item 2
|
|
|
|
| foo | bar |
|
|
|-----|-----|
|
|
| 1 | 2 |
|
|
|
|
paragraph
|
|
|
|
| foo | bar |
|
|
|-----|-----|
|
|
|
|
<div markdown="1">a div</div>
|
|
|
|
|