Support rst rendering

This commit is contained in:
Andrea Dell'Amico 2023-04-13 19:36:01 +02:00
parent e2cef6af97
commit 8969a44929
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,11 @@ gitea_markup_markdown_conf:
- { section: 'markup.markdown', option: 'ENABLED', value: '{{ gitea_markup_markdown_enabled }}', state: 'present' }
- { section: 'markup.markdown', option: 'FILE_EXTENSIONS', value: '.md,.markdown', state: 'present' }
- { section: 'markup.markdown', option: 'RENDER_COMMAND', value: 'pandoc -f markdown -t html --katex', state: 'present' }
gitea_markup_rst_enabled: 'true'
gitea_markup_rst_conf:
- { section: 'markup.restructuredtext', option: 'ENABLED', value: '{{ gitea_markup_rst_enabled }}', state: 'present' }
- { section: 'markup.restructuredtext', option: 'FILE_EXTENSIONS', value: '.rst', state: 'present' }
- { section: 'markup.restructuredtext', option: 'RENDER_COMMAND', value: 'timeout 30s pandoc +RTS -M512M -RTS -f rst', state: 'present' }
gitea_prometheus_metrics: 'false'
#gitea_prometheus_bearer_token: put it into a vault file