website/website/contrib/code_block
2022-08-20 18:32:25 +01:00
..
templates/contrib/blocks Add code block 2022-06-27 23:29:55 +01:00
__init__.py Add code block 2022-06-27 23:29:55 +01:00
blocks.py Don't serialize all language options in migrations 2022-08-19 13:40:40 +01:00
README.md Add code block 2022-06-27 23:29:55 +01:00
tests.py Simplify caching for pygments styles 2022-08-20 18:32:25 +01:00
urls.py Rename namespace for static pygments URL 2022-07-16 01:13:48 +01:00
utils.py Bake pygments version into style URL 2022-06-28 23:04:52 +01:00
views.py Simplify caching for pygments styles 2022-08-20 18:32:25 +01:00

code_block

Heavily based on wagtail-pygments, with several changes to the block, as well as a view for exposing the CSS styles.