DEV Community

Discussion on: Creating a React code editor and syntax highlighter

Collapse
 
kendalmintcode profile image
Rob Kendal {{☕}}

Sorry that your expectations weren't met on this occassion Lukas. However, since you have such a powerful tool like Prism, it doesn't make sense to recreate that. The disadvantage is that Prism only highlights static bodies of code. It doesn't dynamically handle changes and you certainly can't have it work like a code editor with highlighting, which is what this article is about; a simple, quick code editor with syntax highlighting. I'm sorry if you've been misled anywhere or given the wrong impression of what we were doing here.