TOC & header numbering

jlundell's Avatar


28 Jan, 2014 10:14 PM

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.

  1. Support Staff 1 Posted by Brett on 29 Jan, 2014 03:52 PM

    Brett's Avatar

    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. 2 Posted by Hans Van de Loo... on 01 Nov, 2020 10:30 AM

    Hans Van de Looy's Avatar

    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?

  3. Support Staff 3 Posted by Brett on 01 Nov, 2020 12:41 PM

    Brett's Avatar

    Do you mean the table of contents loses its prefixes, or are you expecting the headers in the document to be numbered?

    - Brett

  4. 4 Posted by Hans Van de Loo... on 01 Nov, 2020 02:12 PM

    Hans Van de Looy's Avatar

    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

  5. Support Staff 5 Posted by Brett on 01 Nov, 2020 03:55 PM

    Brett's Avatar

    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.

    - Brett

  6. 6 Posted by Hans Van de Loo... on 02 Nov, 2020 06:43 AM

    Hans Van de Looy's Avatar

    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?


  7. Support Staff 7 Posted by Brett on 02 Nov, 2020 12:20 PM

    Brett's Avatar

    It affects the Table of Contents itself when you select "Print table of
    contents" or insert it manually with `<!--TOC-->`.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac