Markdown should auto-number lines beginning with a period.

# Today's To-Do List
. Go shopping
. Feed the dog
. Water plants
. Pay bills
. Go get mail
. Put gas in the car

Why? Because you might need to get your mail before paying your bills. Changing the order means renumbering everything by hand. And if you have a huge list of things to do, you’ll be renumbering every single item for every single change you make.

You can see how long the list is now. Imagine a couple hundred items, and you have to delete something. It’s why HTML has ol and ul, instead of forcing you to number things by hand.

  • dustyData@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    Yeah, common mark is a spec. It is not the spec.

    I always return to the core:

    a markdown document should be publishable as-is.

    Without having to translate it at all to HTML. Extraneous syntax that break this convention is an automatic no-go.

    Most of the specs differences are about resolving technical ambiguity for computers of things that are not an issue for people. You can translate to HTML tags in a dozen different ways. As long as the underlying plain text is readable to a human.