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
..
chroma Improve arc-green code theme (#21039) 2 years ago
code Fix and restyle menu on code line (#15913) 3 years ago
codemirror Support Issue forms and PR forms (#20987) 2 years ago
console Add support for rendering terminal output with colors (#19497) 2 years ago
features Remove fomantic image module (#21145) 2 years ago
markup Disallow selecting the text of buttons (#19330) 2 years ago
modules Use separate class for tippy targets (#20742) 2 years ago
shared Make branch icon stand out more (#20726) 2 years ago
standalone Update JS dependencies, fix lint (#18389) 2 years ago
themes Remove black labels and CSS cleanup (#21003) 2 years ago
_admin.less Changed scroll to auto for some UI elements. (#20294) 2 years ago
_base.less Remove fomantic image module (#21145) 2 years ago
_dashboard.less Background color of private list-items updated (#20630) 2 years ago
_editor.less Extract CodeMirror styles (#17960) 3 years ago
_explore.less Remove fomantic image module (#21145) 2 years ago
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 3 years ago
_form.less Fix create repository page's help text (#20810) 2 years ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Refactor install page (db type) (#17919) 3 years ago
_organization.less Add RSS Feed buttons to Repo, User and Org pages (#19370) 2 years ago
_repository.less Remove fomantic image module (#21145) 2 years ago
_review.less Remove fomantic image module (#21145) 2 years ago
_svg.less Update JS dependencies, fix lint (#18389) 2 years ago
_tribute.less Update JS dependencies (#15033) 3 years ago
_user.less Add badge capabilities to users (#20607) 2 years ago
animations.less Add KaTeX rendering to Markdown. (#20571) 2 years ago
helpers.less Add support mCaptcha as captcha provider (#20458) 2 years ago
index.less Use tippy.js for context popup (#20393) 2 years ago
variables.less fix media query edge case (#13546) 4 years ago