36 points · by xiaodai · 2y ago · 60 comments
My background is human machine interaction. I have a reflexive urge to not look for "undiscoverable" navigation elements and close a page when I see them. The world needs better UI, and I'm doing my part by not giving my eyeballs to bad UI.
Or, maybe I'm just an old and ornery programmer who frequently says in his head "GET TO THE POINT!"
[0]: https://github.com/iamgio/quarkdown?tab=readme-ov-file#compa...
This is not possible. Any standard powerful enough for everything is also too complex for simple things! Most documents are simple and don't need the power. There is a good argument that authors shouldn't even have access to layout (ever see a 4th grader write a report - they spend hours preparing the table of context, index and other such layout details leaving little time for the content!), you may not agree with the argument in the end but you should understand it.
There will always be debate about what is the right things to include in your documentation standards. Since there are multiple different types of documents with different requirements there will be different answers.
The above doesn't apply to markup. There are lots of other situations where you can do something better, but it won't be enough better to be worth doing. (and of course there are also cases where it really is better by enough)
This is a general misconception about why people create. People don't always create to fill a need - in most cases, motivation to create is intrinsic rather than extrinsic.
As for having a comprehensive markup language - every product & creative avenue in every field in the world needs to contend with balancing complexity & expressiveness with accessibility & simplicity. Markdown errs heavily on the latter side for the writer but comes with natural trade-offs (e.g. it leans heavily on the complexity side for parser-developers) - that push-and-pull will always motivate folk to try & strive for the magical best of both worlds.
But back to the point: Agreed, you described well the existing tension. At one end of the spectrum you've systems like LaTeX and DITA; on the opposite side, Markdown. I don't think Markdown should ever be extended. If anything, it should be encapsulated.
TLDR: single pass, multiple (identical) implementations on different platforms, HTML is not an implicit target, uniform syntax (including attribute syntax)
Text macros (entities) come for free with this approach, and SGML SHORTREF customizations also can be used for any number of additional document-specific conventions on top of markdown.
Even if not actually using SGML but one of the hundreds of markdown-to-HTML converters, checking for SGML upward compatibility is a useful thing to do IMO because of the already crowded space of tokens recognized in marked up text and their recognition priorities.
Relevant xkcd: https://xkcd.com/927/
I'm on Firefox.
Unfortunately the ecosystem was pretty weak. In subsequent years there has been an effort to standardize the spec, which should unlock better tooling. I need to check in on that…
Here are the minutes from the last working group meeting, back in Feb. looks like they’ll meet again in September
https://docs.google.com/document/u/0/d/1eqB2w5pungP2vxiF_DeM...
I have tried ASCII doc and haven't really enjoyed it.
Typst on the other hand is simple, fast, powerful and ergonomic at the same time.
My use cases include:
- Drafting, reviewing and iterating over legal documents, especially contracts - Technical and business process documentation - Long-form, print-friendly report generation, including data visualization, tables and images
How about:
one heading level only
no nesting (of lists or styles)
tables can only contain plain text (not even links!)
either indented or fenced code blocks, but not both
But keep the html escape hatch. If anyone needs one of the missing features, they can drop down to html. Just a bit more friction.The raw markdown table ends up looking like a table even with standard markdown processors since it just renders as an unknown code block.
But I like your approach of leveraging monospace fonts to work as informal tables.
```
.function {greet}
to from:
\*Hello, .to\* from .from!
.greet {world} from:{Giorgio}```
No Hell No , You don't need that in a markdown-like doc. If you want that just use HTML with js. or MDSvex .