mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
94c570a9d8
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
5 lines
217 B
HTML
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>
|