gitea/docs/content/doc/advanced
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
..
adding-legal-pages.en-us.md
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md
config-cheat-sheet.zh-cn.md
customizing-gitea.en-us.md
customizing-gitea.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md
mail-templates-us.md
make.fr-fr.md
make.zh-cn.md
protected-tags.en-us.md
repo-indexer.en-us.md
repo-mirror.en-us.md
search-engines-indexation.en-us.md
signing.en-us.md
third-party-tools.zh-cn.md