summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar decentral1se <1991377+decentral1se@users.noreply.github.com>2023-05-23 17:04:00 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-23 17:04:00 +0200
commitd0e747cd580d615ee467a1b04c8f61630e657f04 (patch)
tree20fcd8b3bd84a0d5e1dfddf35578ae2de7022664
parent[docs] support copy/pasta for code blocks (#1818) (diff)
downloadgotosocial-d0e747cd580d615ee467a1b04c8f61630e657f04.tar.xz
[docs] code highlighting configuration (#1817)
Co-authored-by: decentral1se <cellarspoon@riseup.net>
-rw-r--r--mkdocs.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkdocs.yml b/mkdocs.yml
index e7d20ec34..42d7c89d9 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -36,6 +36,13 @@ extra_css:
markdown_extensions:
- admonition
+ - pymdownx.highlight:
+ anchor_linenums: true
+ line_spans: __span
+ pygments_lang_class: true
+ - pymdownx.inlinehilite
+ - pymdownx.snippets
+ - pymdownx.superfences
nav:
- "Home": "index.md"