Skip to content

Instantly share code, notes, and snippets.

View takacsmark's full-sized avatar
🏠
Working from home

Mark Takacs takacsmark

🏠
Working from home
View GitHub Profile
@wusunlab
wusunlab / pandoc-inline-code-bg.tex
Created May 10, 2018 09:35
Use background color for inline code (\texttt) in pandoc converted LaTeX
% 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