tag:support.markedapp.com,2011-09-11:/discussions/suggestions/1928-toc-header-numberingMarked: Discussion 2020-12-18T08:04:45Ztag:support.markedapp.com,2011-09-11:Comment/313465992014-01-29T15:52:31Z2014-01-29T15:52:31ZTOC & header numbering<div><p>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.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/313465992020-11-01T10:30:45Z2020-11-01T10:30:46ZTOC & header numbering<div><p>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?</p></div>Hans Van de Looytag:support.markedapp.com,2011-09-11:Comment/313465992020-11-01T12:41:56Z2020-11-01T12:41:56ZTOC & header numbering<div><p>Do you mean the table of contents loses its prefixes, or are you expecting the headers in the document to be numbered?</p>
<ul>
<li>Brett</li>
</ul></div>Bretttag:support.markedapp.com,2011-09-11:Comment/313465992020-11-01T14:12:18Z2020-11-01T14:12:18ZTOC & header numbering<div><p>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?</p>
<p>Ciao,<br>
Hans.</p>
<p>Sent from my iPhone</p></div>Hans Van de Looytag:support.markedapp.com,2011-09-11:Comment/313465992020-11-01T15:55:26Z2020-11-01T15:55:26ZTOC & header numbering<div><p>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.</p>
<p>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.</p>
<ul>
<li>Brett</li>
</ul></div>Bretttag:support.markedapp.com,2011-09-11:Comment/313465992020-11-02T06:43:56Z2020-11-02T06:43:58ZTOC & header numbering<div><p>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?</p>
<p>Ciao,<br>
Hans.</p></div>Hans Van de Looytag:support.markedapp.com,2011-09-11:Comment/313465992020-11-02T12:20:31Z2020-11-02T12:20:31ZTOC & header numbering<div><p>It affects the Table of Contents itself when you select "Print table of<br>
contents" or insert it manually with <code><!--TOC--></code>.</p>
<p>-Brett</p></div>Brett