3 ms·
A toolkit that inputs HTML, MarkDown, PDF, or any other "markup" language and separates out the Text, Layers of Markup, Images and Code. All the markup should
by mikewarot 4y ago
A toolkit that inputs HTML, MarkDown, PDF, or any other "markup" language and separates out the Text, Layers of Markup, Images and Code.
All the markup should then reference the range of the characters in the text being marked.
If the text is edited as a set of transforms, you can then apply the same transforms to the ranges, and in effect, edit any marked-up format.
Having the layers separate makes a lot of things easier.
When you're done, you could flatten things back out into any of the supported formats.