mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 00:10:15 +00:00
Markdown: enable some more extensions (#6362)
* Markdown: enable some more extensions Improve Markdown-rendering by enabling some extensions: - enable definitions lists - enable footnotes - enable header-ids and automatically generate header-ids (for linking to README-sections or creating table-of-contents for larger READMEs) * Markdown: update and exted tests Update and add tests for additionally enabled Markdown-extensions.
This commit is contained in:
parent
6f2e1bd23a
commit
57ecf09787
3 changed files with 74 additions and 6 deletions
|
@ -87,11 +87,11 @@ Here are some links to the most important topics. You can find the full list of
|
|||
[[images/icon-bug.png]]
|
||||
`,
|
||||
// rendered
|
||||
`<h2>What is Wine Staging?</h2>
|
||||
`<h2 id="what-is-wine-staging">What is Wine Staging?</h2>
|
||||
|
||||
<p><strong>Wine Staging</strong> on website <a href="http://wine-staging.com" rel="nofollow">wine-staging.com</a>.</p>
|
||||
|
||||
<h2>Quick Links</h2>
|
||||
<h2 id="quick-links">Quick Links</h2>
|
||||
|
||||
<p>Here are some links to the most important topics. You can find the full list of pages at the sidebar.</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue