yzane / vscode-markdown-pdf

Markdown converter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf
Other
1.01k stars 206 forks source link

Page numbers not showing up #349

Open f18m opened 1 year ago

f18m commented 1 year ago

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...

SheepSupreme commented 11 months ago

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.