3 ms·
My issue is remembering that the square brackets come first, not the parentheses. I do like asciidoc's method: https://example.com https://example.com for bare
by evnp 8mo ago
My issue is remembering that the square brackets come first, not the parentheses. I do like asciidoc's method: https://example.com https://example.com for bare link, or https://example.com[pretty https://example.com[pretty text] if alternate text is desired
Edit: It took me a re-read to fully understand your comment, I can see how square brackets might be an incremental addition. This may also help remember the syntax, thanks!
- dpark 8mo agoThat asciidoc format also seems very reasonable. The big issue isn’t specifically that markdown is wrong or right but that all these different systems are very inconsistent.
- chrismorgan 8mo agoExcerpt from my notes when I was deciding on a link syntax for my own lightweight markup language: AsciiDoc doesn’t actually have a real link syntax—what it has is more or less an natural consequence of other syntax choices, but isn’t actually URL-aware, and will mangle some less common URLs. Still, what you get is mostly this kind of thing: • https://example.com[Link https://example.com[Link text] • link:URL[Link text] But woe betide you if you go beyond what it supports, its techniques when you need escaping are grotesque, monstrous horrors. Seriously, when you fall off the happy path, AsciiDoc is awful.