Support rst rendering
This commit is contained in:
parent
e2cef6af97
commit
8969a44929
|
@ -122,6 +122,11 @@ gitea_markup_markdown_conf:
|
||||||
- { section: 'markup.markdown', option: 'ENABLED', value: '{{ gitea_markup_markdown_enabled }}', state: 'present' }
|
- { 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: 'FILE_EXTENSIONS', value: '.md,.markdown', state: 'present' }
|
||||||
- { section: 'markup.markdown', option: 'RENDER_COMMAND', value: 'pandoc -f markdown -t html --katex', 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_metrics: 'false'
|
||||||
#gitea_prometheus_bearer_token: put it into a vault file
|
#gitea_prometheus_bearer_token: put it into a vault file
|
||||||
|
|
Loading…
Reference in New Issue