You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/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>
3 years ago
..
base.go Prevent template renderer from rendering error (#14646) 3 years ago
dynamic.go Move macaron to chi (#14293) 3 years ago
helper.go Make Mermaid.js limit configurable (#16519) 3 years ago
helper_test.go Use templates for issue e-mail subject and body (#8329) 5 years ago
static.go Move macaron to chi (#14293) 3 years ago
templates_bindata.go Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago