File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -71,16 +71,19 @@ theme:
71
71
` ` `
72
72
````
73
73
74
- Note that the language shortcode which has to come first must now also be
75
- prefixed by a `.`. Similarly, the copy button can also be disabled for a
76
- specific code block :
74
+ Note that there must be a language shortcode, which has to come first and
75
+ must also be prefixed by a `.`. Similarly, the copy button can also be
76
+ disabled for a specific code block :
77
77
78
78
` ` ` ` { .yaml .no-copy }
79
79
` ` ` { .yaml .no-copy }
80
80
# Code block content
81
81
` ` `
82
82
````
83
83
84
+ To enable or disable the copy button without syntax highlighting, you can
85
+ use the `.text` language shortcode, which doesn't highlight anything.
86
+
84
87
# ## Code selection button
85
88
86
89
<!-- md:sponsors -->
You can’t perform that action at this time.
0 commit comments