Formatting in code blocks is not allowed by pandoc, causing bold code to be possible but a code block with parts bold in it impossible for LaTeX. The fix is to make sure formatting of a code block happens outside of the codeblock.
[ { "endline": 350, "file": "src/Text/Pandoc/Readers/LaTeX.hs", "function": "inlineCommands", "module": "Text.Pandoc.Readers.LaTeX", "startline": 350 }, { "endline": 371, "file": "src/Text/Pandoc/Readers/LaTeX.hs", "function": "inlineCommands", "module": "Text.Pandoc.Readers.LaTeX", "startline": 371 }, { "endline": 411, "file": "src/Text/Pandoc/Readers/LaTeX.hs", "function": "inlineCommands", "module": "Text.Pandoc.Readers.LaTeX", "startline": 410 } ]
[ { "endline": 350, "file": "src/Text/Pandoc/Readers/LaTeX.hs", "function": "inlineCommands", "module": "Text.Pandoc.Readers.LaTeX", "startline": 350 }, { "endline": 371, "file": "src/Text/Pandoc/Readers/LaTeX.hs", "function": "inlineCommands", "module": "Text.Pandoc.Readers.LaTeX", "startline": 371 }, { "endline": 411, "file": "src/Text/Pandoc/Readers/LaTeX.hs", "function": "inlineCommands", "module": "Text.Pandoc.Readers.LaTeX", "startline": 410 }, { "endline": 802, "file": "src/Text/Pandoc/Shared.hs", "function": "formatCode", "module": "Text.Pandoc.Shared", "startline": 783 } ]