Markdown editor with text input

I want to dynamically change the color of the words the user is typing. The only solution I can think of is binding a text field to a markdown and transforming it there. Is there another way to achieve this? The ideal outcome would be to write directly over the markdown.

Unfortunately, I don't think there is a native Perspective way to achieve this.

I am sure there is some JavaScript injection that could be done, but that can be unsafe.

If I want something like this, I do what you have done and just show it in a markdown and then when they want to edit it goes to the text area.

2 Likes

Okay thanks, I'll try that.