How to add latex code inline in quarto

Hello everybody,
I'm writing a book with quarto, compiing in tex with TexLive 2022
I am using includes like {{< include _content.md >}} to include markdown files
I have noticed that markdown formatting code is not always well traslated to latex, even if it works in HTML output.
I want to include a framed text in an include file as .tex, to get the output as posted here in the second answer, using tcolorbox package.
As this framed colour box needs to be placed inside the markdown text included, I'm not sure how I should tell quarto to include the .tex code. SHould I use an additional .qmd file and put the .tex code in YAML section? I'm quite new to quarto and I'm a bit confused about how to do this.
Thanks in advance

1 Like