Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using page breaks/new page for export #3234

Open
florianhumblot opened this issue Sep 2, 2019 · 2 comments
Open

Using page breaks/new page for export #3234

florianhumblot opened this issue Sep 2, 2019 · 2 comments
Labels
feature request 🌟 Issue is a new feature request.

Comments

@florianhumblot
Copy link

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
@Flexo013 Flexo013 added the feature request 🌟 Issue is a new feature request. label Sep 2, 2019
@wilhelmbecker
Copy link

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)

@MihaelBercic
Copy link

Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 🌟 Issue is a new feature request.
Projects
None yet
Development

No branches or pull requests

4 participants