showdown/test/features/customizedHeaderId-simple.html
Marinin Tim 94c570a9d8 feat(customizeHeaderId): add option for customizing header ids
It’s useful for non-Latin texts, where header might be, for example, in Russian, but user wants id to be in English. This feature allows user to set id for header manually, using curly braces:

    ## Привет, мир {hello-world}

Closes #383
2017-06-01 02:35:42 +01:00

5 lines
217 B
HTML

<h1 id="simple">Просто заголовок</h1>
<h1 id="headerwithoutcurlybraces">Header without curly braces</h1>
<h1 id="cool">Headers with multiple braces {braces} {are}</h1>
<h1 id="withoutspace">Header</h1>