1. Introduction

  2. Usage

  3. Markdown features

    1. CommonMark

    2. Extensions

MisoDoc2

Extensions

MisoDoc2 also supports some MarkDown extensions.

Autolinks

https://github.com/juliendehos/misodoc2

Emojis

If you write :ramen:, you get ๐Ÿœ.

Some emoji markups here.

Tables

foobar
๐Ÿœoof
rabintro

Task lists

  • โ˜ todo

  • โ˜’ done

Code highlighting

Using highlightjs.

-- haskell
main :: IO ()
main = do
    input <- getLine
    putStrLn input
// cpp
int main() {
    std::string input;
    std::getline(std::cin, input);
    std::cout << input << std::endl;
    return 0;
}

Youโ€™ll probably have to download your custom build of highlightjs.

Math

MisoDoc2 can render math equations, using KaTeX.

If you write $x = \sqrt{42}$, you get x = \sqrt{42}.

You also have the display mode, for example:

$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$

gives:

x = {-b \pm \sqrt{b^2-4ac} \over 2a}

Thatโ€™s all folks! ๐ŸŽถ