mb21 / panwriter

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

Respect @Page size declaration #14

Closed typometre closed 5 years ago

typometre commented 5 years ago

Panwriter doesn't seems to respect the size delcared in YAML frontmatter. Telling

@page {
    size: A5 portrait;
  }

or even with 148mm 210mm doesn't work.

It works in User Data file but not directly in the file itlself

mb21 commented 5 years ago

Can you post the whole editor contents? Works for me if properly embedded in the YAML block... try the Format -> Add CSS style menu item on an empty document.

Also: make sure you're on PanWriter 0.6.3

mb21 commented 5 years ago

Let me know if you still think there's a bug... closing for now.