diff --git a/docs/stylesheets/custom.css b/docs/stylesheets/custom.css index c32b77b2..9a3840d5 100644 --- a/docs/stylesheets/custom.css +++ b/docs/stylesheets/custom.css @@ -44,6 +44,11 @@ html { color: white; } + +.md-typeset pre>code:hover { + scrollbar-color: var(--md-accent-fg-color) #0000; +} + .md-nav--primary .md-nav__title .md-logo { display: none; } @@ -144,3 +149,4 @@ html .md-footer-meta.md-typeset a { color: var(--md-accent-fg-color); } + diff --git a/mkdocs.yml b/mkdocs.yml index 7924459b..99ac3ad1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,6 +7,7 @@ theme: - navigation.tabs - navigation.tabs.sticky - navigation.footer + - content.code.copy custom_dir: overrides extra_css: @@ -27,7 +28,15 @@ extra: link: https://acquire-project.zulipchat.com markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences - admonition - pymdownx.details - pymdownx.superfences +