Pandoc and Latex for Markdown Rendering on Inline Code

Job ID: 38828378

Budget: €30 – €250 EUR

* I have a Markdown file file.md
* And a latex.tex template
* I'm rendering a pdf with "pandoc"
* And want the inline code to look like this. See picture
* Important. It shouldn't break the existing template

After running this:

pandoc file.md \
-o "file.pdf" \
--from markdown \
--pdf-engine=lualatex \
--template=template.tex \
--listings

It should convert from this to this. See image.

In other words. I want the inline code to have a different font color and a "box" around it. See image.
Related categories: PDF LaTeX