Thanks to StackOverflow user Pokechu22. See https://stackoverflow.com/questions/21878143/github-markdown-syntax-highlight-of-code-blocks-in-the-table-cell.
const int x = 3;
const string y = "foo";
readonly Object obj = getObject(); |
#!/bin/bash | |
jupyter nbconvert --stdout --to=markdown $1 | bat -l markdown |
(define (curried-map f) | |
(letrec ([g | |
(lambda (xs) | |
(if (null? xs) | |
null | |
(cons (f (car xs)) (g (cdr xs)))))]) | |
g)) |
% add this argument to pandoc when converting markdown to LaTeX | |
% --include-in-header="./pandoc-inline-code-bg.tex" | |
% Reference | |
% <https://tex.stackexchange.com/questions/411194/package-soul-error-reconstruction-failed> | |
\usepackage{xcolor} | |
\usepackage{soul} | |
\definecolor{inlineBG}{HTML}{F3F3F3} % same as GitHub Flavored Markdown |
Thanks to StackOverflow user Pokechu22. See https://stackoverflow.com/questions/21878143/github-markdown-syntax-highlight-of-code-blocks-in-the-table-cell.
const int x = 3;
const string y = "foo";
readonly Object obj = getObject(); |