vscode-markdown-pdf
vscode-markdown-pdf copied to clipboard
output pdf header, the class title just show file name, but extension does not.
I output pdf with header, the class title is used into. I can get the right header in PDF.
But, the class title means header will present file name and extension, for example ABook.md
.
Could it just show file name as ABook
, the file extension .md
does not present ?
I had the same problem
The use of class title
is utilizing the filename, which is strange. Users should be able to redefine the document title using html within the markdown file.
Did anyone find a solution/workaround for this yet?
you could use the html rules to define the header, just like:
<div style="font-size: 9px; margin-left: 1cm>name_of_header</div>;
you should put it into the header-template of the extension settings.