Mise à jour de 'Readme.md'

This commit is contained in:
2022-12-16 22:56:07 +01:00
parent 37f3e8ae2d
commit 87969cb4c4

View File

@@ -8,7 +8,7 @@ This tiny script allow gitea markup files (aka Readme(s)) to get dynamic values
**repository =** {{repository}}
**branch =** {{branch}}
**branch =** {{branch}} *[lest see whats happen if you open another branch ? ]*
## How to use it:
- Put the .sh file in an accessible place, like /usr/local/bin, make it executable.
@@ -26,4 +26,6 @@ ENABLED = true
FILE_EXTENSIONS = .rst
RENDER_COMMAND = /bin/bash /usr/local/bin/pandocRegex.sh rst
```
- Restart gitea and Enjoy !
- Restart gitea and Enjoy !
**Tips:** Dynamic variables must be formated like that (but without any space): { {user}} { {repository}} { {branch}}