Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mg
6mo ago
0 comments
Save
Share
Contenteditable plus the CSS Custom Highlight API (which highlights ranges instead of elements) might indeed allow for a good solution. But I have not yet seen an editor that does that.
0 comments
1 comments · 1 top-level
top
newest
oldest
hyperhello
6mo ago
I built a prototype that does work.
https://hypervariety.com/ScriptHighlighter/
j
/
k
navigate · click thread line to collapse