gitea/templates
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
..
admin Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
base Make Mermaid.js limit configurable (#16519) 2021-07-24 00:21:51 -04:00
custom
explore
mail Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
org Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
repo Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
shared
status
swagger Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
user Add fluid to ui container class to remove margin (#16396) 2021-07-20 08:22:23 +02:00
home.tmpl
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl