forked from kramdown/parser-gfm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update parser to respect 'transliterated_header_ids' kramdown option (k…
…ramdown#22) While using 'transliterated_header_ids: true', one should get something like this: <h3 id="abc-def-ouss">abc def öúß</h3>
- Loading branch information
1 parent
a3f87b9
commit f1012be
Showing
5 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<h3 id="myid">test</h3> | ||
|
||
<h3 id="variablename">variable_name</h3> | ||
|
||
<h3 id="abc-def-ouss">abc def öúß</h3> | ||
|
||
<h3 id="abc-192">192 abc 192</h3> | ||
|
||
<h3 id="section">;.;;</h3> | ||
|
||
<h3 id="variablename-1">variable_name</h3> | ||
|
||
<h3 id="variablename-2">variable_name</h3> | ||
|
||
<h3 id="section-1">;;</h3> | ||
|
||
<h3 id="before-after-tab">before after tab</h3> | ||
|
||
<h3 id="with-code">with <code>code</code></h3> | ||
|
||
<h3 id="with--a-space">with ä space</h3> | ||
|
||
<h3 id="with-smart-quotes">With “smart” quotes</h3> | ||
|
||
<h3 id="with------typographic---symbols">with — « typographic » … symbols</h3> | ||
|
||
<h3 id="with-m5">with \(m=5\)</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
:auto_ids: true | ||
:transliterated_header_ids: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
### test {#myid} | ||
|
||
### variable_name | ||
|
||
### abc def öúß | ||
|
||
### 192 abc 192 | ||
|
||
### ;.;; | ||
|
||
### variable_name | ||
|
||
### variable_name | ||
|
||
### ;; | ||
|
||
### before after tab | ||
|
||
### with `code` | ||
|
||
### with ä space | ||
|
||
### With "smart" quotes | ||
|
||
### with --- << typographic >> ... symbols | ||
|
||
### with $$m=5$$ |