Since I do a lot of development in Python, and encounter -- and create *.rst files often enough, and because Gitea supports it:
https://docs.gitea.io/en-us/external-renderers/
I'm wondering if reStructuredText rendering could be implemented here.
Since I do a lot of development in Python, and encounter -- and create *.rst files often enough, and because Gitea supports it:
https://docs.gitea.io/en-us/external-renderers/
I'm wondering if reStructuredText rendering could be implemented here.
The external renderers (jupyter, asciidoc see #202 and similar) have the issue that we need to be very careful with security issues. Every contribution is welcome that is improving sandboxing the rendered HTML, and isolating the execution (some tests with single-use/throwaway-VMs for example in https://codeberg.org/hw/qemu-experiments)!
I also preffer Asciidoc over Markdown, but the problem is that in Gitea, each document is rendered separatelly, so things like ˋincludesˋ actually do not work, making the usefulness factor go down a lot.
Just to hit you up: Codeberg/build-deploy-gitea#59 was merged (thanks to @corvus), we'll test and deploy (probably with the Gitea 1.14 update).
Security / Sandboxing is still an issue, we'd love to see this improved. Every new renderer currently opens a potential security risk.
gitea should escape, but better testing it thank noticing it later
should work now, can someone push a rst deom? / confirm it's working?
I have a README.rst at this repository: https://codeberg.org/sph/mopidy-autoplay/
It works on github and PyPi, but now the rendered file is empty. Yesterday it was still shown, but obviously unrendered.
@sph thanks for the ping - fixed
You asked for a demo ...
Thanks for getting the .rst renderer up and running! Highly appreciated!!
Although the math equations are not yet supported in the rst format, but I still appreciate all the work which gone into integrating the rendered.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?