How to determine when reach new page on PDF export

any option to config a new page when export PDF

  • how we determine line number for a page break
  • insert page number
  • insert TOC easily

Info

  • Platform: (macOS)
  • Platform version: (Catalina/10/)
  • App Version: (4.5.2)

Hi Krissanawat,

Thank you for the question.

How to insert a page break manually

Basically it is not possible to know at which page each line is.
But you can insert the below html to your note in order to break the page:

<div style="page-break-after:always;"></div>

So you can make sure a line to be on top of the page.

Add page number

Unfortunately it is not possible with Electron

How to insert table of contents

Please use toc plugin

Hope that helps.

1 Like