357
submitted 3 weeks ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 3 weeks ago

It's not the client, it's markup.

[-] [email protected] 2 points 3 weeks ago

this is not a defined thing in markdown, just the markdown renderers of some clients do it

[-] [email protected] 1 points 3 weeks ago

This here is apparently the original source of the markdown specification, and there it clearly says that this is the correct behaviour: https://daringfireball.net/projects/markdown/syntax#list

Ordered lists use numbers followed by periods:

  1. Bird
  2. McHale
  3. Parish

It’s important to note that the actual numbers you use to mark the list have no effect on the HTML output Markdown produces. The > HTML Markdown produces from the above list is:

If you instead wrote the list in Markdown like this:

  1. Bird
  2. McHale
  3. Parish

or even:

  1. Bird
  2. McHale
  3. Parish

you’d get the exact same HTML output

[-] [email protected] 1 points 3 weeks ago

hmm, you are right. it's not actually a bug in the renderer then

this post was submitted on 04 Jun 2025
357 points (96.9% liked)

Programmer Humor

24555 readers
1564 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS