You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
components Replace fomantic popup module with tippy.js (#20428) 2 years ago
features Improve commit status icons (#21124) 2 years ago
markup Add KaTeX rendering to Markdown. (#20571) 2 years ago
modules Improve commit status icons (#21124) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
testUtils Update JS dependencies (#19675) 2 years ago
bootstrap.js Bypass Firefox (iOS) bug (#20244) 2 years ago
index.js Add support mCaptcha as captcha provider (#20458) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
svg.js Auto merge pull requests when all checks succeeded via WebUI (#19648) 2 years ago
svg.test.js Add copy button to markdown code blocks (#17638) 3 years ago
utils.js Enable contenthash in filename for dynamic assets (#20813) 2 years ago
utils.test.js Enable contenthash in filename for dynamic assets (#20813) 2 years ago