From cc53afc60eaac23b11fc3553a4bad94cf8d8adc3 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 9 Apr 2025 07:58:18 +0000 Subject: [PATCH] Update MERMAID_MAX_SOURCE_CHARACTERS (#202) Reviewed-on: https://gitea.com/gitea/docs/pulls/202 --- docs/administration/config-cheat-sheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index 4dfd2b73..35d66b70 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -1244,7 +1244,7 @@ This section only does "set" config, a removed config key from this section won' ## Markup (`markup`) -- `MERMAID_MAX_SOURCE_CHARACTERS`: **5000**: Set the maximum size of a Mermaid source. (Set to -1 to disable) +- `MERMAID_MAX_SOURCE_CHARACTERS`: **50000**: Set the maximum size of a Mermaid source. (Set to -1 to disable) Gitea can support Markup using external tools. The example below will add a markup named `asciidoc`.