TOC & header numbering
Two things, actually.
One is that it'd be nice to be able to use numbering formats like: 1, 1.2, 1.2.3.
The other is that it'd be really nice to be able to insert those numbers in the HTML headers on output.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Brett on 29 Jan, 2014 03:52 PM
This is possible with CSS3 counters, but not something easily implemented as an option at this point. I'll take a further look into it, but it's not going to be top of my list for a little bit.
2 Posted by Hans Van de Loo... on 01 Nov, 2020 10:30 AM
As I noticed this is implemented and can be configured in the preferences pane, but when I export a document to PDF all headers are unnumbered. What secret enchantment I should include to make this work?
Support Staff 3 Posted by Brett on 01 Nov, 2020 12:41 PM
Do you mean the table of contents loses its prefixes, or are you expecting the headers in the document to be numbered?
4 Posted by Hans Van de Loo... on 01 Nov, 2020 02:12 PM
The latter. Oh wait, in that case I should include a number/digit, in front of every header? Just like when I need a numbered list?
Sent from my iPhone
Support Staff 5 Posted by Brett on 01 Nov, 2020 03:55 PM
There is no feature in Markdown or Marked for numbering headers. You can manually add numbers, sure, but they won't automatically be kept in sequence the way a numbered list would.
There is an option to use custom CSS to generate header numbers automatically. It takes a bit of css knowledge, but if you're interested there are examples here in the forums. I can help you search for them if needed.
6 Posted by Hans Van de Loo... on 02 Nov, 2020 06:43 AM
So if this is not a feature, what is the meaning / function of the Preferences/Export/Table of Contents/Table of Contents Level Markers settings?
Support Staff 7 Posted by Brett on 02 Nov, 2020 12:20 PM
It affects the Table of Contents itself when you select "Print table of
contents" or insert it manually with `<!--TOC-->`.