From e0508041a6facf51a06f321df131678a590e5d6b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Sep 2023 20:01:36 +0100 Subject: [PATCH] Add highlighting --- content/other.md | 4 ++++ mkdocs.yml | 2 ++ requirements.txt | 2 ++ 3 files changed, 8 insertions(+) diff --git a/content/other.md b/content/other.md index 64129af..836959b 100644 --- a/content/other.md +++ b/content/other.md @@ -10,3 +10,7 @@ blockdiag { "very easy!" [color = "orange"]; } ``` + +```python title="Some Python" +import this +``` diff --git a/mkdocs.yml b/mkdocs.yml index 778c371..db3d10b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,6 +19,8 @@ hooks: markdown_extensions: - attr_list + - pymdownx.highlight + - pymdownx.superfences plugins: - kroki: diff --git a/requirements.txt b/requirements.txt index cdde1d6..f6fc905 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ mkdocs jinja2-simple-tags mkdocs-kroki-plugin +pymdown-extensions +pygments