Markdown resource collection

29 Dec 2018 (last updated on 21 Sep 2020) - written by Hardy Scheel

Markdown

Markdown is a simple way to write, structure and format text. And all at the same time when you write the text.

Tutorials

Cheat Sheets

Editors

Syntax highlighting in code blocks

Code blocks are part of the MarkDown specification but syntax highlighting is not. But many renderers like GitHub support syntax highlighting. Just open a code block and define your language or shell you want to colour.

Example usage:

    ```javascript
    for (var i = 0 / 2; i < classes.length; i++) {
        if (checkCondition(classes[i]) === undefined)
        console.log('undefined');
    }
    ```

LaTeX/Mathematics / TeX Mathematical Formulae

Some renderers can interpret LaTeX Mathematics. The beginning and ending dollar signs ($) are the delimiters for the TeX markup.

Examples:

$-b \pm \sqrt{b^2 - 4ac} \over 2a$
$x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3 + a_4}}}$
$\forall x \in X, \quad \exists y \leq \epsilon$

CommonMark

CommonMark is a propose for an unambiguous syntax reference specification for Markdown.