1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 09:45:53 +01:00
gitea/docs/content/doc/features
zeripath 88c2e24360
Add KaTeX rendering to Markdown. (#20571)
This PR adds mathematical rendering with KaTeX.

The first step is to add a Goldmark extension that detects the latex
(and tex) mathematics delimiters.

The second step to make this extension only run if math support is
enabled.

The second step is to then add KaTeX CSS and JS to the head which will
load after the dom is rendered.

Fix #3445

Signed-off-by: Andrew Thornton <art27@cantab.net>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-14 00:33:37 +08:00
..
authentication.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
authentication.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
authentication.zh-tw.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
comparison.en-us.md Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
comparison.zh-cn.md Update docs comparison.zh-cn.md (#21035) 2022-09-13 00:16:32 -04:00
comparison.zh-tw.md Add SAML SP status to Feature Comparison docs (#20743) 2022-08-11 07:04:09 +02:00
localization.en-us.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
localization.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
localization.zh-tw.md Add markdownlint (#20512) 2022-07-28 09:22:47 +08:00
webhooks.en-us.md Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
webhooks.zh-cn.md Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00
webhooks.zh-tw.md Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00