6
submitted 6 hours ago* (last edited 6 hours ago) by ki4jgt@feddit.org to c/opensource@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] dustyData@lemmy.world 3 points 4 hours ago* (last edited 4 hours ago)

Markdown is not a technical markup specification. So, there's not a unified way to render, nor a central authority to change the specs.

I think the proposal goes against the core values of why markdown exists. The point is that the plain text should be legible and comprehensible by humans specifically when it is not rendered. A single dot defeats the purpose as it would depend on the renderer to display the numbers and it is not straight forward interpreted as numbers. If they should be numbers, then write the numbers.

[-] beyond@linkage.ds8.zone 1 points 2 hours ago* (last edited 2 hours ago)

No, but CommonMark (which is used by all three of the platforms named by OP) is.

[-] dustyData@lemmy.world 1 points 14 minutes 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.

this post was submitted on 02 Dec 2026
6 points (65.0% liked)

Open Source

50336 readers
321 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 7 years ago
MODERATORS