docbrown/spec/support/fixtures/sample_article_template_spec.txt
Gabriel Lebec 1e2749be24 feat(markdown): add ids to headers (#713)
* 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
2018-11-20 18:17:07 -05:00

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
![GitHub Logo](link)
Format: ![Alt Text](url)
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~~