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

Page numbers not showing up

Open f18m opened this issue 1 year ago • 1 comments

Trying to render as PDF a very simple markdown document, I get the right HTML header (with markdown document name and the ISO date) but in the footer I can only see a slash "/" without any page number before/after. Reading docs the footer is supposed to be in the form "currentPage / totalPages".

I think there is a bug in the rendering of the

<span class='pageNumber'></span>
<span class='totalPages'></span>

parts...

f18m avatar Nov 21 '23 10:11 f18m

I had the same problem too. It appears, that the page is rendered on top of the footer. Try to fix this issue by changing:

Markdown-pdf > Margin: Bottom to 2cm instead of 1cm

in the extension-settings. This worked for me. I hope they fix this soon.

SheepSupreme avatar Dec 01 '23 12:12 SheepSupreme