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.
import
1 parent 478c78b commit 996771aCopy full SHA for 996771a
docs/guides/syntax-highlighting.server.mdx
@@ -153,6 +153,8 @@ to interpret the `meta` field.
153
For example, it’s possible to pass that string as a prop with a rehype plugin:
154
155
```js path="rehype-meta-as-attributes.js"
156
+import {visit} from 'unist-util-visit'
157
+
158
/** @type {import('unified').Plugin<Array<void>, import('hast').Root>} */
159
function rehypeMetaAsAttributes() {
160
return (tree) => {
0 commit comments