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

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

Open ghost opened 5 years ago

ghost commented 5 years ago

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 ?

ANiuPlus commented 4 years ago

I had the same problem

Splitsun commented 4 years ago

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.

bowtiedalien commented 1 year ago

Did anyone find a solution/workaround for this yet?

BetterLYY commented 7 months ago

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.