News for hackers. Stuff that matters.
Re:Polymath: A Markup Language for Everything by alok-g on Thursday February 13, 2020 @07:50PM (#22322934)
That makes sense, and I can imagine that.

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.

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.

Re:Polymath: A Markup Language for Everything by alok-g on Friday February 14, 2020 @08:28AM (#22326290)
I can take that. Thanks.