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.

  • Señor Mono@feddit.org
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 day ago

    Well, it’s just a markup language which gets used for everything. All renderes are interpreting the language a tat differently, introducing other features and little helpers. Some interpreter are stricter, others aren’t.

    Point being, features depend on the used interpreter and platforms like githubc, gitlab, reddit, lemmy, … chose different interpreter, as they see fit.

    If I’m not mistaken, markdown started with this in 2004: https://daringfireball.net/projects/markdown/