Replies: 2 comments 2 replies
-
|
Because rehype-class-names has an old You can ignore the type error. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Thanks I got the custom class working with this rehype plugin. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Facing a need to classes to HTML tags
in general
needs to be transformed to
There is a rehype plugin available, which seems do the trick https://github.com/riderjensen/rehype-class-names
but, I have a difficult time to understand how to connect it.
I tried following:
but it causing bunch of TypeScript errors .... Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions