sethyuan / logseq-plugin-tocgen

Generate a TOC of any page anywhere to quickly access the page's content.
MIT License
144 stars 10 forks source link

[HOW-TO] Inserting page-break when using logseq-plugin-doc and logseq-plugin-toc before printing to PDF #83

Closed sparkles6452 closed 1 month ago

sparkles6452 commented 1 month ago

Tested with Chrome and Logseq 10.9 / Doc View Exporter 1.19.0 / TOC Generator 2.13.0.

Works great.

Insert the following as bullet point:

<p style="page-break-after: always;">&nbsp;</p>

(HTML does not show on the Logseq page.)

Thanks to @sethyuan for these great plugins.