* feat(markdown): add anchors for headers * Fix markdown anchors impl and spec * Fixes tests for markdown anchors * Use name for anchors instead of IDs * Fix approval file * Remove emojis in links and hyphenate only spaces
77 lines
1.2 KiB
Text
77 lines
1.2 KiB
Text
---
|
|
title: This is a test
|
|
published: false
|
|
description:
|
|
tags:
|
|
---
|
|
|
|
# h1
|
|
## h2
|
|
### h3
|
|
#### h4
|
|
##### h5
|
|
###### h6
|
|
# multiword heading
|
|
# 😎 emoji heading
|
|
|
|
*italic* _italic_
|
|
**bold** __bold__
|
|
_You **can** combine them_
|
|
**asterisks and _underscores_**
|
|
|
|
* Item 1
|
|
* Item 2
|
|
* Item 2a
|
|
|
|
1. Item 1
|
|
1. Item 2
|
|
1. Item 2a
|
|
|
|

|
|
Format: 
|
|
|
|
1. **Line break in ul/ol spacing test**
|
|
* TEST1
|
|
* TEST1.1
|
|
* TEST1.1.1
|
|
* TESET1.1.3
|
|
|
|
2. **Line break in ul/ol spacing test 2**
|
|
* ITEM 1
|
|
* ITEM 2
|
|
* ITEM 3
|
|
|
|
http://github.com
|
|
[GitHub](http://github.com)
|
|
|
|
As Kanye West said:
|
|
|
|
> We're living the future so
|
|
> the present is our past.
|
|
|
|
I think you should use an `<addr>` element here instead.
|
|
|
|
|
|
```javascript
|
|
function fancyAlert(arg) {
|
|
if(arg) {
|
|
$.facebox({div:'#foo'})
|
|
}
|
|
}
|
|
```
|
|
|
|
|
|
- [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported
|
|
- [x] list syntax required (any unordered or ordered list supported)
|
|
- [x] this is a complete item
|
|
- [ ] this is an incomplete item
|
|
|
|
|
|
|
|
First Header | Second Header
|
|
------------ | -------------
|
|
Content from cell 1 | Content from cell 2
|
|
Content in the first column | Content in the second column
|
|
|
|
|
|
~~this~~
|