You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syntax highlighting is only applied on a per-line basis due to how the renderContent API is designed. Because it only syntax highlights one line at a time, multi-line comments are not rendered properly.
Syntax highlighting is only applied on a per-line basis due to how the
renderContent
API is designed. Because it only syntax highlights one line at a time, multi-line comments are not rendered properly.Here is an update to the example of the multi-line comment: master...ebramanti:react-diff-viewer:syntax-highlighting-bug
And what it looks like rendered:
The text was updated successfully, but these errors were encountered: