Skip to content

Commit

Permalink
fix: use fork of react-syntax-highlighter to fix code display issue
Browse files Browse the repository at this point in the history
Use a fork of the react component, as suggested in here:
react-syntax-highlighter/react-syntax-highlighter#513 (comment)
Fixes #2
  • Loading branch information
mlopezFC committed Aug 14, 2024
1 parent 307b8ef commit acedfff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @since 1.0.0
*/
@SuppressWarnings("serial")
@NpmPackage(value = "react-syntax-highlighter", version = "15.5.0")
@NpmPackage(value = "react-syntax-highlighter", version = "npm:@fengkx/react-syntax-highlighter@15.6.1")
@JsModule("./react-syntax-highlighter.tsx")
@Tag("syntax-highlighter")
public class SyntaxHighlighter extends BaseSyntaxHighlighter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @since 1.0.0
*/
@SuppressWarnings("serial")
@NpmPackage(value = "react-syntax-highlighter", version = "15.5.0")
@NpmPackage(value = "react-syntax-highlighter", version = "npm:@fengkx/react-syntax-highlighter@15.6.1")
@JsModule("./react-syntax-highlighter-prism.tsx")
@Tag("syntax-highlighter-prism")
public class SyntaxHighlighterPrism extends BaseSyntaxHighlighter {
Expand Down

0 comments on commit acedfff

Please sign in to comment.