Skip to content

Commit

Permalink
re-enable code copy button & add doc link about related feature
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Apr 11, 2024
1 parent 2b1cdc7 commit a8d5819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
"toc.follow",
"toc.sticky",
"content.tabs.link",
"content.code.copy",
"announce.dismiss",
],
"palette": [
Expand Down
1 change: 1 addition & 0 deletions docs/customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ Configuration Options
Some features that have been ported from the mkdocs-material theme and can be enabled by
specifying the feature's name in a list of strings. The following features are supported:

- `content.code.copy <https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button>`_
- `content.code.annotate <https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-annotations>`_

.. seealso:: Refer to the :doc:`code_annotations` document for more detail.
Expand Down

0 comments on commit a8d5819

Please sign in to comment.