0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 06:51:29 +01:00
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
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
easymde.js
index.js
jquery.js
publicpath.js
serviceworker.js
svg.js Load issue/PR context popup data only when needed (#15955) 2021-07-13 20:09:19 +02:00
utils.js
utils.test.js