From 3356bcaf0c3157e9ee1d832efd721f4777612318 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 5 May 2022 15:53:38 +0800 Subject: [PATCH] Remove `RequireHighlightJS` field, update plantuml example. (#19615) --- doc/advanced/customizing-gitea.en-us.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/advanced/customizing-gitea.en-us.md b/doc/advanced/customizing-gitea.en-us.md index 1a8386fc..ef798ddb 100644 --- a/doc/advanced/customizing-gitea.en-us.md +++ b/doc/advanced/customizing-gitea.en-us.md @@ -132,15 +132,18 @@ copy javascript files from https://gitea.com/davidsvantesson/plantuml-code-highl `$GITEA_CUSTOM/public` folder. Then add the following to `custom/footer.tmpl`: ```html -{{if .RequireHighlightJS}} - - - -{{end}} ``` You can then add blocks like the following to your markdown: