We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200dd11 commit 0e96132Copy full SHA for 0e96132
code.mdx
@@ -177,7 +177,17 @@ const hello = "world";
177
````
178
179
## Icon
180
-TODO: - icon `string`: it can be a fontawesome icon, lucide icon, or icon with absolute url (no icons with relative paths yet)
+Add an icon to a code block using a string. You can use FontAwesome icons, Lucide icons, or icons with absolute URLs.
181
+
182
+```javascript icon="globe"
183
+const hello = "world";
184
+```
185
186
+````md icon="globe"
187
188
189
190
+````
191
192
## Line Highlighting
193
TODO: - highlight `expression | string`: `{1, 3-5}` or `"1, 4-5"`
0 commit comments