FR: Wikipedia style lists.
spoon-m4a opened this issue · 2 comments
spoon-m4a commented
Aidurber commented
Markdown doesn't help us out by default here. I'd need to build a custom heading renderer. I'll add it to the backlog and have a play around when I can find the time.
Thanks for the suggestion!
Sandwich1699975 commented
For anyone who really likes this feature, you can directly apply this to your whole document with some custom css:
h2:before {
counter-increment: h2counter;
content: counter(h2counter) "\0000a0\0000a0";
}
h3:before {
counter-increment: h3counter;
content: counter(h2counter) "." counter(h3counter) "\0000a0\0000a0";
}
h4:before {
counter-increment: h4counter;
content: counter(h2counter) "." counter(h3counter) "." counter(h4counter) "\0000a0\0000a0";
}
h5:before {
counter-increment: h5counter;
content: counter(h2counter) "." counter(h3counter) "." counter(h4counter) "." counter(h5counter) "\0000a0\0000a0";
}
h6:before {
counter-increment: h6counter;
content: counter(h2counter) "." counter(h3counter) "." counter(h4counter) "." counter(h5counter) "." counter(h6counter) "\0000a0\0000a0";
}
Which looks like