Default (version 1.5.0 and later): Displays the Markdown file name and the date using %%ISO-DATE%% "markdown-pdf.headerTemplate": " %%ISO-DATE%%",.%%ISO-TIME%% : current time in ISO-based format ( hh:mm:ss).%%ISO-DATE%% : current date in ISO-based format ( YYYY-MM-DD).%%ISO-DATETIME%% : current date and time in ISO-based format ( YYYY-MM-DD hh:mm:ss).To use this option, you must set markdown-pdf.displayHeaderFooter to true.Specifies the HTML template for outputting the header.If you wish to display only one of them, remove the value for the other.Activating this option will display both the header and footer."markdown-pdf.executablePath": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" ![]() Path to a Chromium or Chrome executable to run instead of the bundled Chromium."markdown-pdf.highlightStyle": "github.css",Ĭonfiguration options markdown-pdf.executablePath Syntax highlight options markdown-pdf.highlight Enable the inclusion of default Markdown styles (VSCode, markdown-pdf).If markdown-pdf.stylesRelativePathFile option is set to true, the relative path set with markdown-pdf.styles is interpreted as relative from the file.Online CSS ( is applied correctly for JPG and PNG, but problems occur with PDF #67.If the file does not exist, it will be skipped.A list of local paths to the stylesheets to use from the markdown-pdf.It can be used to avoid relative paths from folders and workspaces.If markdown-pdf.outputDirectoryRelativePathFile option is set to true, the relative path set with markdown-pdf.outputDirectory is interpreted as relative from the file.If you set a directory with an absolute path, an error occurs if the directory does not exist.If you set a directory with a relative path, it will be created if the directory does not exist."markdown-pdf.outputDirectory": "~/output", If path starts with ~, it will be interpreted as a relative path from the home directory."markdown-pdf.outputDirectory": "output", If you open the workspace, it will be interpreted as a relative path from the each root folder.If you open a folder, it will be interpreted as a relative path from the root folder.If you open the Markdown file, it will be interpreted as a relative path from the file."markdown-pdf.outputDirectory": "C:\\work\\output", All \ need to be written as \\ (Windows)."work\\test" // All '\' need to be written as '\\' (Windows) Excluded file name of convertOnSave option.To apply the settings, you need to restart Visual Studio Code.Markdown-pdf.outputDirectoryRelativePathFile Paste to the settings.json, and change the value. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |