website/website/contrib/code_block
Jake Howard ac2ba1ef17
Return when a colours error is found
2024-05-04 20:53:45 +01:00
..
templates/contrib/blocks Colour language tag using GitHub's linguist colours 2023-04-21 21:22:59 +01:00
README.md Add code block 2022-06-27 23:29:55 +01:00
__init__.py Add code block 2022-06-27 23:29:55 +01:00
apps.py Add Healthcheck for Linguist colours 2023-08-19 13:09:26 +01:00
blocks.py Add display and linguist mapping for postgres 2023-06-04 18:20:21 +01:00
healthchecks.py Return when a colours error is found 2024-05-04 20:53:45 +01:00
tests.py Add tests for linguist integration 2023-06-04 19:25:38 +01:00
urls.py Unify pygments stylesheet 2022-08-31 23:02:13 +01:00
utils.py Create a global requests session 2023-09-04 21:48:10 +01:00
views.py Just set cache control rather than caching page content 2022-09-04 17:29:04 +01:00

README.md

code_block

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