-
-
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
feat: added support for diff with syntax highlight #53
Conversation
Looks mostly good to me, but perhaps we can use Could you also help to add a test case. Thanks! |
One of the test case also fails, so that requires a closer look. |
Noted, I'll implement the |
I've fixed the error with optional chaining and added a test for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me!
Format can be found here: Show line number: https://github.com/timlrx/rehype-prism-plus#sample-markdown-to-html-output Show diff lines: timlrx/rehype-prism-plus#53
Format can be found here: Show line number: https://github.com/timlrx/rehype-prism-plus#sample-markdown-to-html-output Show diff lines: timlrx/rehype-prism-plus#53
Format can be found here: Show line number: https://github.com/timlrx/rehype-prism-plus#sample-markdown-to-html-output Show diff lines: timlrx/rehype-prism-plus#53
Format can be found here: Show line number: https://github.com/timlrx/rehype-prism-plus#sample-markdown-to-html-output Show diff lines: timlrx/rehype-prism-plus#53
Format can be found here: Show line number: https://github.com/timlrx/rehype-prism-plus#sample-markdown-to-html-output Show diff lines: timlrx/rehype-prism-plus#53
added support for syntax highlighting for diff
by using the
diff:
prefix you can get syntax highlight and diff for your codemdx code
result