Skip to content

Commit

Permalink
add tests for clean heading IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Feder1co5oave committed Jan 15, 2018
1 parent 508068d commit b5e3b88
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/new/headings-id.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<h3 id="heading-with-a-link">Heading with a <a href="http://github.com/">link</a></h3>

<h3 id="heading-with-some-italic-text">Heading with some <em>italic text</em></h3>

<h3 id="or-some-strong">Or some <strong>strong</strong></h3>

<p>(which doesn&#39;t really make any difference, here)</p>

<h3 id="or-even-code">Or even <code>code</code></h3>

<h3 id="what-about-strikethrough">What about <del>strikethrough</del></h3>

<h2 id="and-a-ref-link">And a ref <a href="/some/url" title="link to nowhere">link</a></h2>
14 changes: 14 additions & 0 deletions test/new/headings-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
### Heading with a [link](http://github.com/)

### Heading with some _italic text_

### Or some **strong**
(which doesn't really make any difference, here)

### Or even `code`

### What about ~~strikethrough~~

## And a ref [link][destination]

[destination]: /some/url "link to nowhere"

0 comments on commit b5e3b88

Please sign in to comment.