News for hackers. Stuff that matters.
Re:StrictMark: Markdown, Refactored by splatcollision on Friday January 29, 2021 @01:59PM (#25960936)
Markdown was engineered to be flexible _on purpose_ because it was designed for writers and readers, not programmers.

Writers are less likely to care about what symbol means "bulleted list item", as long as anything that makes sense for it, just works.

It's a mistake to think of Markdown as a programming language, or a "formal grammar".

That being said, if it works for you go for it...

Re:StrictMark: Markdown, Refactored by nine_k on Friday January 29, 2021 @06:56PM (#25964479)
If you want to render Markdown in a way other than plain text, you need formal rules of parsing it. No matter how informal you want Markdown to be, if you want e.g. a nicely rendered Readme on Githiub, you have to follow the formal rules.
Re:StrictMark: Markdown, Refactored by ufo on Friday January 29, 2021 @03:17PM (#25961840)
One downside of markdown being so flexible is that it's hard to remember if a given dialect implements a certain feature, or how it will handle a certain corner case

I think I see the appeal of specifying a robust subset of markdown, something that you can trust will probably be parsed the same way for as many dialects as possible.

Re:StrictMark: Markdown, Refactored by FriedrichN on Friday January 29, 2021 @03:29PM (#25962022)
I totally agree with this. It's quite annoying you never quite know what dialect some website is using, they never mention, because it seems very few of these dialects have names.

What also annoys me is that they didn't base it off Wiki formatting. It would've been great if it had at least some compatibility for basic stuff like headings and links.

Re:StrictMark: Markdown, Refactored by gritzko on Friday January 29, 2021 @02:22PM (#25961219)
Re:StrictMark: Markdown, Refactored by legulere on Friday January 29, 2021 @03:16PM (#25961828)
lists are one of markdown's weak points though with numbered lists completely ignoring the numbers
Re:StrictMark: Markdown, Refactored by admax88q on Friday January 29, 2021 @03:27PM (#25961982)
Thats optimized for never having to renumber yoir lists as you edit your document.

I would hate to have to change 30 numbers because i want to move an item from last to first.

Re:StrictMark: Markdown, Refactored by hyperpape on Friday January 29, 2021 @04:35PM (#25962916)
Optimizing for readers definitely excludes lists like:

    2. 
    3. 
    5. 
    6. 
    1.
Re:StrictMark: Markdown, Refactored by setr on Saturday January 30, 2021 @11:22AM (#25970311)
Tbf it’d be trivial to have a button/flag to fix it in the source, and a warning to notify the user. It’d might be debatable to do so automatically, but on demand there’s no issue (like words table of content update/warning).

But the current definition of “its always sequential, that’s it” means you could do it automatically without changing meaning. Whereas do-as-I-say is stuck with being unsafe, always

Re:StrictMark: Markdown, Refactored by gerikson on Saturday January 30, 2021 @04:54AM (#25967767)
This is the same as HTML's <ol> though...