forgejo/web_src/js/markup
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
..
anchors.js Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
content.js Make tasklist checkboxes clickable (#15791) 2021-05-23 17:14:03 +03:00
mermaid.js Make Mermaid.js limit configurable (#16519) 2021-07-24 00:21:51 -04:00
tasklist.js Fixed setting of wrong position (#16148) 2021-06-14 22:42:58 +02:00