@@ -150,8 +150,8 @@ Mermaid will detect and use tags with `class="language-mermaid"`.
150
150
#### Example: PlantUML
151
151
152
152
You can add [ PlantUML] ( https://plantuml.com/ ) support to Gitea's markdown by using a PlantUML server.
153
- The data is encoded and sent to the PlantUML server which generates the picture. There is an online
154
- demo server at http://www.plantuml.com/plantuml , but if you (or your users) have sensitive data you
153
+ The data is encoded and sent to the PlantUML server which generates the picture. There is an online
154
+ demo server at http://www.plantuml.com/plantuml , but if you (or your users) have sensitive data you
155
155
can set up your own [ PlantUML server] ( https://plantuml.com/server ) instead. To set up PlantUML rendering,
156
156
copy javascript files from https://gitea.com/davidsvantesson/plantuml-code-highlight and put them in your
157
157
` custom/public ` folder. Then add the following to ` custom/footer.tmpl ` :
@@ -173,7 +173,7 @@ You can then add blocks like the following to your markdown:
173
173
```plantuml
174
174
Alice -> Bob: Authentication Request
175
175
Bob --> Alice: Authentication Response
176
-
176
+
177
177
Alice -> Bob: Another authentication Request
178
178
Alice <-- Bob: Another authentication Response
179
179
```
@@ -235,6 +235,9 @@ Locales may change between versions, so keeping track of your customized locales
235
235
236
236
To add a custom Readme, add a markdown formatted file (without an ` .md ` extension) to ` custom/options/readme `
237
237
238
+ ** NOTE:** readme templates support ** variable expansion** .
239
+ currently there are ` {Name} ` (name of repository), ` {Description} ` , ` {CloneURL.SSH} ` and ` {CloneURL.HTTPS} `
240
+
238
241
### Reactions
239
242
240
243
To change reaction emoji's you can set allowed reactions at app.ini
0 commit comments