From 078fe3966c01ed3a837430ed07453bec3791935e Mon Sep 17 00:00:00 2001 From: kosayoda Date: Wed, 24 Mar 2021 01:42:28 +0800 Subject: Propogate markdown language data to highlight.js --- pydis_site/apps/content/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pydis_site/apps/content/utils.py b/pydis_site/apps/content/utils.py index ef02a8cb..17d7db81 100644 --- a/pydis_site/apps/content/utils.py +++ b/pydis_site/apps/content/utils.py @@ -47,6 +47,7 @@ def get_page(path: Path) -> Dict[str, Union[str, Dict]]: extras=[ "metadata", "fenced-code-blocks", + "highlightjs-lang", "header-ids", "strike", "target-blank-links", -- cgit v1.2.3