6
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 7 years ago
MODERATORS
https://stackoverflow.com/questions/12145232/create-an-automatically-numbered-list-in-markdown-format
This doesn't happen for me, in any of my editors. And this question was asked 14 years ago. 14 years and the problem still isn't solved?
Then there is a problem either with your editors or between keyboard and chair. Sorry. The
syntax works on all markdown implementations I'm aware of.
NB: the above is an example of the markdown syntax used, not the end result. End result here:
Fun fact: unlike R*ddit, Lemmy's markdown implementation can start a list at a number other than 1 (but it'll still auto-number starting with the number you write).
This is somewhat helpful if you want to split up your list with a paragraph in the middle, or if you want to continue a list from somebody else's comment.
I think this is implementation-specific; my example is not, or at least I have never encountered an implementation that doesn't do that, since it's part of the original spec.
When viewing your comment in Voyager, all lines start with 1.
They did post a code block, not a real list. So no formatting is happening at all there.
How 'bout now (same markdown as above)?
Works perfectly. Another poster noted that you had used the code tag so no markdown was happening. Thanks for putting in the effort, appreciated.
Works for me on lemy.lol for example and in Obsidian.
It's less of a problem and more a design decision.
The whole central concept of markdown is that it stays readable in it's raw form. There is only so much you can do about automatic numbering with that restriction.
Which is more readable in the raw, a list of mis-numbered lines, or a list of lines starting with a period?
Both equally badly, but for somebody who doesn't know markdown, a list starting with 1. still looks like a numbered list, just weirdly numbered. But nobody knows why there is a dot at the beginning of the line until they learn that it shall magically be translated into a properly numbered list.
Thinking about it that way often gives youa good judgement on which option ismore intuitive for users.
"Clever tricks" are not intuitive.