aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-11-07 16:27:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-11-07 16:27:49 -0300
commit42ff51760c50d29de1534aa2d108107c33d782df (patch)
treea1572c38d926a87ad1069e9bea20d6189351ec7d
parentab3b972c212101b47297f8bfa71c6281806438d2 (diff)
downloadtemplates-42ff51760c50d29de1534aa2d108107c33d782df.tar.gz
templates-42ff51760c50d29de1534aa2d108107c33d782df.tar.bz2
MkDocs: code copy button
-rw-r--r--mkdocs.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkdocs.yml b/mkdocs.yml
index a6c155d..34fbe44 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -60,6 +60,11 @@ theme:
# See https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/#autoloading
#font: false
+ # Code copy button
+ # https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button
+ features:
+ - content.code.copy
+
# Extra stylesheets
extra_css:
- site.css