Markdown is a plain text with special syntax.
There are multiple ways we can convert to pdf from markdown content
- command line
- Visual studio
- Online tools
How to convert markdown to pdf file ?
There are multiple ways we can convert markdown to pdf file.
In this we can give input file as markdown file, output file is pdf file
npm install command
npm install -g markdown-pdf
We can write a code or command line
Command line using mardown-pdf cli
markdown-pdf options markdown-file-path
Convert markdown to pdf online
There are number of online apps to convert to pdf dillinger.io has more features, you can view markdown in different format, import and export markdown files.
First copy or import markdown content into document.
An option Export as allows you to export to html,pdf and markdown files.