2 Useful Snippets
matrss edited this page 2025-11-03 18:27:24 +01:00

Useful Snippets

A wiki page dedicated to useful snippets of configuration or similar related to Forgejo(-aneksajo). Feel free to share your own here!

Custom renderers

A renderer for jupyter notebook files (requires Forgejo >=v13 due to fixes to the iframe renderer):

[markup.jupyter]
ENABLED = true
FILE_EXTENSIONS = .ipynb
RENDER_COMMAND = timeout 30 jupyter nbconvert --stdin --stdout --to html --template classic
RENDER_CONTENT_MODE = iframe
NEED_POSTPROCESS = false