You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following code blocks extensions are implemented during markdown parsing in Node side. That means, the code blocks won't be processed in client side.
158
158
159
+
Notice that some of the code blocks features require theme support. The default theme of VuePress supports all of them, but community themes might not. You'd better check the theme documentation before using them.
160
+
159
161
#### Code Title
160
162
161
-
You can specify the title of the code block by adding a `title` key-value mark in your fenced code blocks. Note: This requires theme support.
163
+
You can specify the title of the code block by adding a `title` key-value mark in your fenced code blocks.
162
164
163
165
**Input**
164
166
@@ -196,7 +198,7 @@ It can be used in combination with the other marks below. Please leave a space b
196
198
197
199
#### Line Highlighting
198
200
199
-
You can highlight specified lines of your code blocks by adding line ranges mark in your fenced code blocks. Note: This requires highlighter plugin and theme support.
201
+
You can highlight specified lines of your code blocks by adding line ranges mark in your fenced code blocks.
You must have noticed that the number of lines is displayed on the left side of code blocks.
248
250
249
-
You can add `:line-numbers` / `:no-line-numbers` mark in your fenced code blocks to override the value set in config. Note: This requires highlighter plugin and theme support.
251
+
You can add `:line-numbers` / `:no-line-numbers` mark in your fenced code blocks to override the value set in config.
0 commit comments