diff options
author | Roland Koebler <rk@simple-is-better.org> | 2019-03-21 14:53:06 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-03-21 15:53:06 +0200 |
commit | 57ecf0978766138fc084a3f1e158278bfd0d5d34 (patch) | |
tree | a414a8e250b2dfe2464e375c992155d9fe4b2f02 /routers/api/v1/misc | |
parent | 6f2e1bd23ab7670e3bbc76d569b80007ca38af05 (diff) | |
download | gitea-57ecf0978766138fc084a3f1e158278bfd0d5d34.tar.gz gitea-57ecf0978766138fc084a3f1e158278bfd0d5d34.zip |
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.
Diffstat (limited to 'routers/api/v1/misc')
-rw-r--r-- | routers/api/v1/misc/markdown_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/misc/markdown_test.go b/routers/api/v1/misc/markdown_test.go index 32d2f0730e..9de1f77f60 100644 --- a/routers/api/v1/misc/markdown_test.go +++ b/routers/api/v1/misc/markdown_test.go @@ -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> |