Skip to content

Comment on Markdown.css – make HTML look like plain-text

Comments

Cool, but the numbered list has everything lablled as '1.' for me: ff esr 10.0.12

Yeah, technically markdown doesn't need the numbers to be incremented, so I thought it'd be more fun to explicitly not use counters. Maybe it's too confusing though. There's a discussion about it here: https://github.com/mrcoles/markdown-css/issues/1

UPDATE: I ended up merging that in and making the ones toggle-able, and then added a toggle link into the demo so you can see both http://mrcoles.com/demo/markdown-css/

>in markdown, the actual numbers don’t matter

That's to be expected, you make ordered lists like that in markdown :)

Ha, I didn't know you could just use any number until just now, makes sense, doh! Thanks.

yea, its a good case using just 30. item1 999. item2 2. item3 for numbered lists

but it can possibly "break" in some later versions of markdown, as said by the man himself:

"If you do use lazy list numbering, however, you should still start the list with the number 1. At some point in the future, Markdown may support starting ordered lists at an arbitrary number." -- John Gruber / Daring Fireball (http://daringfireball.net/projects/markdown/syntax#list)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.