Kairos@lemmy.today to Programmer Humor@programming.dev · 3 days agotop 5 unsolved problems in computer sciencelemmy.todayexternal-linkmessage-square56fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linktop 5 unsolved problems in computer sciencelemmy.todayKairos@lemmy.today to Programmer Humor@programming.dev · 3 days agomessage-square56fedilinkfile-text
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up0·3 days agoI love it so much when reddit clients think they are smarter and they renumber points 5 to 1 as 5 to 9…
minus-squaresquaresinger@lemmy.worldlinkfedilinkarrow-up0·3 days agoIt’s not the client, it’s markup.
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up0·3 days agothis is not a defined thing in markdown, just the markdown renderers of some clients do it
minus-squaresquaresinger@lemmy.worldlinkfedilinkarrow-up0·2 days agoThis 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: Bird McHale 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: <ol> <li>Bird</li> <li>McHale</li> <li>Parish</li> </ol> If you instead wrote the list in Markdown like this: Bird McHale Parish or even: Bird McHale Parish you’d get the exact same HTML output
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up0·2 days agohmm, you are right. it’s not actually a bug in the renderer then
I love it so much when reddit clients think they are smarter and they renumber points 5 to 1 as 5 to 9…
It’s not the client, it’s markup.
this is not a defined thing in markdown, just the markdown renderers of some clients do it
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
hmm, you are right. it’s not actually a bug in the renderer then