mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.01k stars 45 forks source link

TOC? #130

Closed Skeeve closed 1 year ago

Skeeve commented 1 year ago

I'm trying to convince colleagues that Markdown would be a fantastic format for most of our documents since we can use pandoc to convert to any end format we might want and consistently get output conforming to our standards.

In order for them to not have to use any simple text editor and wonder what the output might look like, I thought panwriter would be a good way for them to get used to markdown.

But I'm currently wondering, when saving to (e.g.) PDF, how to get a table of contents. I can see no option when exporting in panwriter to get pandoc to create a toc.

mb21 commented 1 year ago

From https://panwriter.com/MANUAL.html#export-via-pandoc:

---
output:
  latex:
    toc: true
---
Skeeve commented 1 year ago

Cool! Thanks a lot!