Skip to content

Using markdownRendererFencedCodeAttributeContextBegin-End #480

@l0th3r

Description

@l0th3r

Hi,

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)
image

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions