We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb9492 commit 56fdb28Copy full SHA for 56fdb28
docs/reference/code-blocks.md
@@ -71,16 +71,19 @@ theme:
71
```
72
````
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:
+ Note that there must be a language shortcode, which has to come first and
+ must also be prefixed by a `.`. Similarly, the copy button can also be
+ disabled for a specific code block:
77
78
```` { .yaml .no-copy }
79
``` { .yaml .no-copy }
80
# Code block content
81
82
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
+
87
### Code selection button
88
89
<!-- md:sponsors -->
0 commit comments