▲ | kennywinker 4 days ago | |
I see what you’re saying, but I also haven’t ever used anything but the first two formats, and my goal was always readability not emphasis. Storing the AST instead of the text is a lossy encoding, but would we lose something more valuable than what we gain? If your example is the best thing we’d lose - i’d say it’s still net a massive win. and there are ways to emphasize different parts, that would survive the roundtrip to AST. E.g. one way to emphasize depth:
or to emphasize the data:
Or heck you could allow style overides if you really wanted to preserve this kind of styling:
|