BoostNote-Legacy icon indicating copy to clipboard operation
BoostNote-Legacy copied to clipboard

Using page breaks/new page for export

Open florianhumblot opened this issue 6 years ago • 2 comments

Current behavior

Unkown

Expected behavior

I'd like to be able to add page-breaks when exporting to PDF or to HTML. I haven't found anything on the wiki or in the application itself to do this. I've tried different things such as:

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

or:

$$
\pagebreak
$$

But none of these work either.

Steps to reproduce

Currently none.

Environment

  • Version : 0.12.1
  • OS Version and name : Windows 10 Pro 1903 Build: 18362.295

florianhumblot avatar Sep 02 '19 10:09 florianhumblot

This may not be a proper implemented feature. But you can allow dangerous HTML tags as described in the FAQ: https://github.com/BoostIO/Boostnote/blob/master/FAQ.md#frequently-asked-questions

How to enable: Go to Preferences → Interface → Sanitization → Allow dangerous html tags

Then you can use

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

as a page-break. Works for me on KDE and print File. I assume this will work for PDF export too (cannot confirm this due #3372)

wilhelmbecker avatar Aug 13 '20 16:08 wilhelmbecker

Any news on this?

MihaelBercic avatar Feb 24 '22 12:02 MihaelBercic