-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding prism plugins #22
Comments
I have refactored the code to export a Unfortunately, the treeview plugin does some manipulation on the dom so it can't be simply imported. That section of the code probably needs to be ported over to |
Ahh good to know that it works. I only got a nondescriptive error message. I will try it a again in the next few days. |
Hmm, sadly I did not figure out how to do it 🙁 Can you post your solution? |
Most certainly, will take a stab at it and let you know again when it is done. |
Is there a way to use prism plugins and especially the treeview plugin?
As far as I understand refractor does not allow prism plugins, but it should be possible to add support for the treeview plugin by registering its syntax definitions with refractor.
For this to work
rehype-prism-plus
would need to allow registering new syntaxes with its refractor instance.What do you think?
The text was updated successfully, but these errors were encountered: