I would like to reproduce the look of the markdown code blocks in Github like so:
Inline code exemple
void CodeBlockExemple(void)
{
return;
}
I don´t know if it's the good approach but I planned on using \colorbox to get the result I wanted as so:\
Inline \colorbox{red} {code} exemple (red color just for exemple)
And I am having a hard time using markdownRendererFencedCodeAttributeContextBegin and markdownRendererFencedCodeAttributeContextEnd. I checked in the documentation, there is an example of how to use it with the minted package but I am not getting where I want with the \colorbox command.
What could I do different ?
Thank you so much in advance for the time and help !
Hi,
I would like to reproduce the look of the markdown code blocks in Github like so:
Inline code exemple
I don´t know if it's the good approach but I planned on using
\colorbox
to get the result I wanted as so:\Inline \colorbox{red} {code} exemple
(red color just for exemple)And I am having a hard time using
markdownRendererFencedCodeAttributeContextBegin
andmarkdownRendererFencedCodeAttributeContextEnd
. I checked in the documentation, there is an example of how to use it with theminted
package but I am not getting where I want with the\colorbox
command.What could I do different ? Thank you so much in advance for the time and help !