diff options
author | 2023-05-23 17:04:00 +0200 | |
---|---|---|
committer | 2023-05-23 17:04:00 +0200 | |
commit | d0e747cd580d615ee467a1b04c8f61630e657f04 (patch) | |
tree | 20fcd8b3bd84a0d5e1dfddf35578ae2de7022664 | |
parent | [docs] support copy/pasta for code blocks (#1818) (diff) | |
download | gotosocial-d0e747cd580d615ee467a1b04c8f61630e657f04.tar.xz |
[docs] code highlighting configuration (#1817)
Co-authored-by: decentral1se <cellarspoon@riseup.net>
-rw-r--r-- | mkdocs.yml | 7 |
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" |