How Can I Create a Table of Contents?

In Ulysses, you can generate a table of contents for all export formats, including PDF, DOCX, ePub, and blog posts.

To insert a table of contents, place the tag (toc) on its own line in the editor. You can also add it via the Insert menu on Mac or the Markup bar above the keyboard on iPad and iPhone. Make sure that Ulysses’ native markup language, Markdown XL, is enabled for this feature to work.

In the editor, you will only see the placeholder, but during export Ulysses automatically generates a complete table of contents based on the headings that follow the placeholder in the editor.


By default, the table of contents includes the first two heading levels (# and ##). When exporting to PDF, DOCX, or ePub, you can customize which heading levels are included. To do this, open the export preview and click the export style at the top:

 

Then select Table of Contents and choose your preferred option:

On iPad and iPhone, tap the controls icon in the export preview to adjust this setting:

Please note: When you open an exported DOCX file in Microsoft Word, you may be prompted to update the document fields. If you choose Yes, Word will automatically generate the correct page numbers. Then select an update option and click OK.

Can't find what you're looking for?

Contact us