Francisco Camargo

Logo

Data Scientist & Machine Learning Engineer

View the Project on GitHub francisco-camargo/francisco-camargo

Markdown

Return to top README.md

Code Blocks

Formatting code block guide, listof available tags

Some useful tags:

     
Batchfile Jupyter Notebook R
BibTeX Makefile bash
Click Markdown SQL
CSV Numpy TeX
Dockerfile Pickle Text
GraphQL PowerShell TOML
Ignore List Python Vim Snippet
JSON Python console XML
JSON with Comments Python traceback YAML

LaTeX equation formatting for Markdown

In a Markdown file, the following syntax

$y=mx+b$

displays as $y=mx+b$

YAML Header

Guide

dillinger.io

dillinger.io is an easy option to convert markdown to pdf. However, have to copy paste into the web-browser.

However, would have to figure out how to customize as needed (e.g. add page numbers, add page breaks)

Pandoc

Pandoc is a document converter. I have been using it to convert from .md to .pdf. Specifically, I have been using the VSCode extension vscode-pandoc.

Additionally, here the setting I use:

Docker

1742135526567

PDF Options

Here I have changed the output font size and margin spacing.q

-V fontsize=12pt -V geometry:margin=1in

1742135667749

Running Pandoc

While viewing the .md file of interest, open the Command Palette (ctrl + shift + p) and look for and select Pandoc Render

1743878458095

You will then have some options of the output format, we will use pdf

1743878522357

If successful, this will run a Docker container and produce a pdf.

Markdeep

Markdeep. Seems to have example .md.html files that have decent styling and can be opened via a browser. Maybe been good for making webpages. Not clear if there is a way to then also convert to .pdf.