1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/web_src
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
..
fomantic Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
js Make Mermaid.js limit configurable (#16519) 2021-07-24 00:21:51 -04:00
less Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
svg Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00