Skip to content

Markdown: rendering of code fails after opening parenthesis #5893

@engelhro

Description

@engelhro

Hello,

It's just a minor issue, but when entering a word or phrase as code (i.e., text in backticks) which immediately follows an opening parenthesis, the Markdown parser fails to recognize this and does not format the code part properly (by using the correct text and background color).

This works:

( `Hello`) (note the extra space before the backtick)

This does not work:

(`Hello`)

So far I've not encountered any further edge case (other delimiters) where the identification of code fails. Other editors like VSCode don't exhibit that behavior, they can handle the combination of parenthesis and backtick correctly.

Is it possible to resolve this as I have that situation quite often in my notes (individual words to be formatted as code, not full code blocks)?

Thanks for having a look!

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