Search code examples
visual-studio-codemarkdown

Get rid of file name and date in VScode markdown


I am very new to markdown. I use VScode editor with Markdown All in One and Markdown PDF extensions.

Let's say I open test.md file and write the following text

### This is my first markdown text

Hello

When I export the text into pdf, using Ctrl+Shift+P - markdown-pdf: Export (pdf), I get the following output:

enter image description here

The question is, how do I get rid of the name and the date in the upper part of the page?


Solution

  • Please refer to Markdown-Pdf's README doc,in the chapter Options,disable the markdown-pdf.displayHeaderFoote may solve your problem.