Is the content.code.select option the only needed configuration to make code selection working? #6458
-
I'm sorry for posting so many questions today :) I try to enable insiders for our docs site and face with the problems I do not know how to deal with, hope it will be helpful for others facing the same. The current question is related to the code selection button - https://squidfunk.github.io/mkdocs-material/reference/code-blocks/?h=content+code+copy#code-selection-button. I try to add the content.code.select feature to my mkdocs.yml but it does not work at all. The icon just does not appear. The minimal reproduction attached. It also includes the "copy" button which displays correctly. 9.5.0+insiders.4.46.0-select_code_lines.zip This is how I've installed the deps:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No worries, happy to help. You're missing the recommended base configuration: markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences |
Beta Was this translation helpful? Give feedback.
-
When posting things like that, please post them as questions in the future. |
Beta Was this translation helpful? Give feedback.
No worries, happy to help. You're missing the recommended base configuration: