You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to use Mermaid.js outside of markdown, e.g. in other templates or HTML files,
138
+
you would need to remove `{{if .RequireHighlightJS}}` and `{{end}}`.
139
+
140
+
Mermaid will detect and use tags with `class="language-mermaid"`.
141
+
103
142
## Customizing Gitea mails
104
143
105
144
The `custom/templates/mail` folder allows changing the body of every mail of Gitea.
@@ -112,8 +151,6 @@ full path structure matching source.
112
151
Any statement contained inside `{{` and `}}` are Gitea's template
113
152
syntax and shouldn't be touched without fully understanding these components.
114
153
115
-
116
-
117
154
## Adding Analytics to Gitea
118
155
119
156
Google Analytics, Matomo (previously Piwik), and other analytics services can be added to Gitea. To add the tracking code, refer to the `Other additions to the page` section of this document, and add the JavaScript to the `custom/templates/custom/header.tmpl` file.
0 commit comments