vscode-markdown-pdf
vscode-markdown-pdf copied to clipboard
Way to create page borders?
Has anyone found a reliable way to create page borders?
I set this style in markdown-pdf.css
.page {
height: 27.7cm; /*dimensions are for A4 - 1 cm margin on all sides */
width: 19cm;
page-break-after: always;
border: 2px solid #000;
}
However, the headings are rendered outside the borders even if they are contained within the div with the page class. The "Basic Theory" line appears inside the text because there isn't an empty line after the <div> & markdown thinks it's normal text.
