Re:Polymath: A Markup Language for Everything
by johnmorrison on Thursday February 13, 2020 @08:54PM
(#22323323)
Yeah, if I'm interpreting your words correctly, this would be like turning
p {b This} {b text is} {b bolded} this isn't
into p {b This text is bolded} this isn't
But then the issue is as follows:In Polymath, I'm planning on allowing basically arbitrary CSS styling by parent, id, class, etc. So if the user later wants to do something like put a rounded box around each span of bolded text, those two, while initially looking identical in WYSIWYG, end up completely different.
However, should it not be possible for the software to find a minimal cover for the formatting that would produce the same visual output, thereby practically recovering what hard-crafted markup would have been?
Thanks.