forgejo/web_src/less
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
..
chroma Improve arc-green code theme (#21039) 2022-09-03 23:24:18 +08:00
code
codemirror Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
console Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
features Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
markup Disallow selecting the text of buttons (#19330) 2022-04-14 16:57:19 +08:00
modules Use separate class for tippy targets (#20742) 2022-08-10 22:47:28 +08:00
shared Make branch icon stand out more (#20726) 2022-08-10 15:23:11 -04:00
standalone Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
themes Remove black labels and CSS cleanup (#21003) 2022-08-31 17:04:41 +08:00
_admin.less Changed scroll to auto for some UI elements. (#20294) 2022-07-10 20:58:26 +08:00
_base.less Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
_dashboard.less Background color of private list-items updated (#20630) 2022-08-06 22:25:58 +08:00
_editor.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
_font_i18n.less
_form.less Fix create repository page's help text (#20810) 2022-08-18 22:13:08 -04:00
_home.less
_install.less
_organization.less Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
_repository.less Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
_review.less Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
_svg.less Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
_tribute.less
_user.less Add badge capabilities to users (#20607) 2022-08-18 02:25:25 +03:00
animations.less Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
helpers.less Add support mCaptcha as captcha provider (#20458) 2022-08-10 15:20:10 +02:00
index.less Use tippy.js for context popup (#20393) 2022-07-19 00:33:34 +02:00
variables.less