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

output pdf header, the class title just show file name, but extension does not.

Open ghost opened this issue 5 years ago • 4 comments

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 ?

ghost avatar Nov 07 '19 05:11 ghost

I had the same problem

ANiuPlus avatar Dec 30 '19 12:12 ANiuPlus

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.

Splitsun avatar Jan 06 '20 20:01 Splitsun

Did anyone find a solution/workaround for this yet?

bowtiedalien avatar Mar 19 '23 19:03 bowtiedalien

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.

BetterLYY avatar Apr 22 '24 02:04 BetterLYY