Skip to content

Commit aed84dd

Browse files
committed
Wiki: Add copy button in code blocks
1 parent 0b70fb8 commit aed84dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: mkdocs.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ theme:
1414
features:
1515
- tabs
1616
- content.tabs.link
17+
- content.code.copy
1718
favicon: assets/images/icon.png
1819

1920
docs_dir: docs
@@ -24,8 +25,12 @@ repo_url: https://github.com/t2linux/wiki
2425
edit_uri: https://github.com/t2linux/wiki/edit/master/docs/
2526

2627
markdown_extensions:
27-
- pymdownx.highlight
28+
- pymdownx.highlight:
29+
anchor_linenums: true
30+
line_spans: __span
31+
pygments_lang_class: true
2832
- pymdownx.inlinehilite
33+
- pymdownx.snippets
2934
- pymdownx.superfences
3035
- pymdownx.tasklist:
3136
custom_checkbox: true

0 commit comments

Comments
 (0)