gitea/web_src/js
zeripath f135a818f5
Make Mermaid.js limit configurable (#16519)
* Make Mermaid.js limit configurable

Add `MERMAID_MAX_SOURCE_CHARACTERS` to `[markup]` settings
to make the maximum size of a mermaid render configurable.

Fix #16513

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

* fixup! Make Mermaid.js limit configurable

* Update custom/conf/app.example.ini

Co-authored-by: silverwind <me@silverwind.io>

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-24 00:21:51 -04:00
..
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
components Load issue/PR context popup data only when needed (#15955) 2021-07-13 20:09:19 +02:00
features Update notification table with only latest data (#16445) 2021-07-17 17:18:10 +01:00
markup Make Mermaid.js limit configurable (#16519) 2021-07-24 00:21:51 -04:00
standalone docs: swagger show models by default (#14880) 2021-03-07 22:19:14 +01:00
easymde.js Switch from SimpleMDE to EasyMDE (#13333) 2020-11-10 14:16:30 -05:00
index.js fix calculation for finalPage in repo-search component (#16382) 2021-07-13 16:05:27 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
publicpath.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Load issue/PR context popup data only when needed (#15955) 2021-07-13 20:09:19 +02:00
utils.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
utils.test.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00