vscode-markdown-pdf icon indicating copy to clipboard operation
vscode-markdown-pdf copied to clipboard

Feature request: per page settings (margins)

Open deusdevok opened this issue 1 year ago • 1 comments

I'm trying to set different margins of the output PDF for the first page (which is a cover image, and I need it to fill the whole page, margin: 0). The rest of the document would have different settings (margins as default for example).

Is there a way to achieve this? I'm looking at the documentation on margins, but this applies to all pages, as far as I understand.

deusdevok avatar Apr 18 '23 18:04 deusdevok

I'm also looking for an option to customize the cover page (custom content displayed instead or over header and footer).

I've tried:

@page :first {
    margin-top: 0cm;
    margin-bottom: 0cm;
}

to hide header and footer on the first page, however it turns out that the setting was applied to every page...

owanerwo avatar Sep 25 '23 09:09 owanerwo