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
[-] GreyEyedGhost@piefed.ca 2 points 1 hour ago

Works perfectly. Another poster noted that you had used the code tag so no markdown was happening. Thanks for putting in the effort, appreciated.

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

Open Source

50336 readers
319 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