/* Auto-numbered headings (mimics pandoc --number-sections) */
.md-content {
    counter-reset: h2;
}
.md-content h2 {
    counter-reset: h3;
    counter-increment: h2;
}
.md-content h3 {
    counter-reset: h4;
    counter-increment: h3;
}
.md-content h4 {
    counter-increment: h4;
}
.md-content h2::before {
    content: counter(h2) ". ";
}
.md-content h3::before {
    content: counter(h2) "." counter(h3) " ";
}
.md-content h4::before {
    content: counter(h2) "." counter(h3) "." counter(h4) " ";
}
