non-biased-news — 6/2/2022, 4:36:56 PM

Please help me.

original post deleted
♥ 3 ↩ 0 💬 11 comments

comments

oren:

If I were you I would try a different highlighting library

maybe https://highlightjs.org/

6/2/2022, 5:54:19 PM
non-biased-news:

I’ll check that out

6/2/2022, 5:57:31 PM
non-biased-news:

I tried it but it doesn’t it doesn’t update highlighting live, so I might remake the whole editor

6/2/2022, 6:18:20 PM
non-biased-news:

It might help if I put the actual path to the highlight.min.js scripts

6/2/2022, 6:20:43 PM
non-biased-news:

Nope still doesn’t work

6/2/2022, 6:22:05 PM
oren:

Try moving the w3codecolor function definition above where it's run

6/2/2022, 5:08:33 PM
oren:

I'll make a pr when I'm on my computer

6/2/2022, 5:10:05 PM
non-biased-news:

You can use vscode.dev, and open a PR on it, the repo is cruncher12/codecomm

6/2/2022, 5:18:36 PM
non-biased-news:

doesn’t look like it works, but who knows

6/2/2022, 5:33:46 PM
oren:

What framework?

6/2/2022, 5:01:29 PM
non-biased-news:

Html JS CSS, Vanilla

I found

https://css-tricks.com/creating-an-editable-textarea-that-supports-syntax-highlighted-code/, but I’m having trouble implementing it…

6/2/2022, 5:17:56 PM