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
First, thanks for the great package; look what I did it with it in around a half-an-hour: Code Demo App
But, now I'm facing a problem with the editor's write() method, it renders the highlighted code
as plain HTML ...
The code I'm trying to show:
function name () {doSomething();}
What I verified was:
This has nothing to do with the position of the container (nor its styling apparently)
The terminal app works fine
The text to be highlighted is pulled out of a YAML file, but putting it in a const code as is produces the same output.
What I suspect to cause the problem:
Maybe nesting things in a function. Check How I'm doing this.
It's likely that passing demo as an argument like this is causing this issue but I don't know how to debug this kind of stuff 😢
I hope you could help me figure out what I'm missing here; and thanks in advance
The text was updated successfully, but these errors were encountered:
Hi @rafaelcamargo,
First, thanks for the great package; look what I did it with it in around a half-an-hour:
Code Demo App
But, now I'm facing a problem with the editor's
write()
method, it renders the highlighted codeas plain HTML ...
The code I'm trying to show:
What I verified was:
const code
as is produces the same output.What I suspect to cause the problem:
Maybe nesting things in a function. Check How I'm doing this.
It's likely that passing
demo
as an argument like this is causing this issue but I don't know how to debug this kind of stuff 😢I hope you could help me figure out what I'm missing here; and thanks in advance
The text was updated successfully, but these errors were encountered: