Skip to content

Is there a way to highlight inline code too? #10

@PLRrex

Description

@PLRrex

Is your feature request related to a problem? Please describe.
I'm looking for a way to specify a language for inline code (in markdown syntax) so that it is highlighted.

I've tried inline raw HTML such as <code class="language-python">print('hello world')</code>. This does get highlighted, but also automatically turned into a code block. I'd like it to remain as inline code.

Describe the solution you'd like
It would be great if there's a way we can specify language for inline code in markdown syntax (that is, code using just backticks, not raw HTML) and highlight it accordingly.

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