MisoDoc2 also supports some MarkDown extensions.
https://github.com/juliendehos/misodoc2
If you write :ramen:, you get ๐.
Some emoji markups here.
| foo | bar |
|---|---|
| ๐ | oof |
| rab | intro |
โ todo
โ done
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.
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}