Replies: 1 comment
-
|
for me, the JavaScript file that |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi, I want to add an editor in my website with syntax highlighting. The easiest way that I know of to do that would be using tree-sitter.
However, I am experiencing a problem. When I try to instantiate a tree sitter highlighter with 1 line:
I get the follow error from the browser:
As soon as I remove this line, the error is gone.
Reproduction Steps:
dx new project. Dioxus version 0.6.3. Select all the default optionstree-sitter-highlight = "0.25"inCargo.tomllet mut highlighter = tree_sitter_highlight::Highlighter::new();in theAppcomponetWhen I undo step 3, the website severs perfectly well. Would appreciate some help!
Beta Was this translation helpful? Give feedback.
All reactions