Skip to content

Instantly share code, notes, and snippets.

View kevduc's full-sized avatar
📙
Focusing

Kevin Duconge kevduc

📙
Focusing
View GitHub Profile
@patik
patik / styles.css
Last active February 14, 2025 06:54 — forked from joshbode/numbered_headings.md
Numbered Headings in Markdown via CSS
body { counter-reset: h1counter h2counter h3counter h4counter h5counter h6counter; }
h1 { counter-reset: h2counter; }
h2 { counter-reset: h3counter; }
h3 { counter-reset: h4counter; }
h4 { counter-reset: h5counter; }
h5 { counter-reset: h6counter; }
h6 {}
h2:before {