codimd icon indicating copy to clipboard operation
codimd copied to clipboard

numbersections

Open zhihaoy opened this issue 2 years ago • 1 comments
trafficstars

I hope to be able to automatically number sections, h2 -> 1. , h3 -> 1.1. , by setting

numbersections: true

in YAML. These numbers should affect how the titles are displayed in TOC, but not affect their anchor names (so that you can reference them by their stable names).

zhihaoy avatar Jan 06 '23 22:01 zhihaoy

Hi @zhihaoy, PR is welcomed!

jackycute avatar Jun 05 '23 04:06 jackycute