rehype-pretty-code
rehype-pretty-code copied to clipboard
[Question] Pass metadata from code-block as data-attributes
Hello!
Thank you for this library, it has saved my bacon.
I have a question, is it possible to take these metastrings, and have them as data-attributes in the pre
block?
```ts title="title" meta-foo="something" meta-bar="other"
data-rehype-pretty-code-meta-foo="something"
data-rehype-pretty-code-meta-bar="another"
Thanks!