top | item 41251199

(no title)

extheat | 1 year ago

This is actually really cool. I can see the usages in textarea and inputs but also even in plain HTML documents for large code formatting. No need for exploding the DOM with tons of spans and other HTML tags, if you can have the hardware accelerated font rendering software take care of everything. I’d imagine that would save lots of memory and CPU.

discuss

order

theendisney|1 year ago

I havent tried millions but you can use hundreds of thousands of spans witout any noticable delay. It was implemented wonderfully.

oneshtein|1 year ago

Built-in syntax highlighting fits nicely Markdown ideology. Also, it may look good at plain-text console.

simultsop|1 year ago

Yea probably beats many syntax preview plugins!