Convert Markdown to PDF
Our assignments are distributed in markdown files. If you want to leverage the markdown file, you will need a workflow that converts markdown to pdf. Here are some of the options:
- Convert Markdown to PDF
- 1. Online Markdown to PDF Converter
- 2. R-Studio - Requires Pandoc
- 3. Jupyter
- 4. Specialized Markdown Editor
- 5. Sublime Text + Markdown Preview + Chrome
1. Online Markdown to PDF Converter
The easiest is perhaps the cloud-based markdown to PDF converters
- https://cloudconvert.com/md-to-pdf: multipurpose converter including md to pdf.
- Dillinger.io: editing and expert to pdf, html
- Markdowntopdf.com: quick and easy
2. R-Studio - Requires Pandoc
You can open the md file in R-studio, and save as PDF (this is done through Pandoc).
To install Pandoc, you can download it from Pandoc. Note that Latex software, such as MikTex is also required.
3. Jupyter
You can open the md file in jupyter notebook, and save as PDF (this is done through Pandoc).
Alternatively, you may choose to print the file, then using the browser's built-in save as PDF capability. Specifically, go to File > Print Preview > Using the Browser's Save As PDF (e.g. Chrome) or Print + Microsoft Print to PDF (Internet Explorer).
4. Specialized Markdown Editor
Specialized Markdown Software such as Typora or Markdown Monster tend to have their own markdown to PDF converter.
5. Sublime Text + Markdown Preview + Chrome
If use sublime text as your text editor. There are markdown editing and preview packages you can install.
- Use sublime package control to install
- Alt+M to view markdown in Chrome, Ctrl+p to print to PDF.