diff --git a/mkdocs.yml b/mkdocs.yml index e9d451d0..00f8cdcb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -13,6 +13,7 @@ theme: custom_dir: overrides features: - content.code.copy + - content.code.annotate - content.action.view - content.action.edit - content.tooltips @@ -54,6 +55,8 @@ markdown_extensions: anchor_linenums: true line_spans: __span pygments_lang_class: true + use_pygments: true + linenums: true - pymdownx.inlinehilite - abbr - attr_list diff --git a/requirements.txt b/requirements.txt index a12be637..c68751a6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ mkdocs-material==9.* mkdocs-material-extensions==1.* python-markdown-math==0.8 mkdocs-macros-plugin==1.* +pygments @ git+https://github.com/moschmdt/pygments@feature/soar