Skip to content

Highlight text between backticks in C/C++ comments #687

@parmi93

Description

@parmi93
/**
 * @brief Foo function
 *
 * Call `bar(3)` before calling this function
 * 
 *
 * ```c
 * bar(3);
 * bar(3);
 * ```
 * 
 * @param[in] a Param description
 */
void foo(int a);

It would be really helpful if
`bar(3)`
and

bar(3);
bar(3);

were highlighted!



For example this is how the VSDoxyHighlighter extension for Visual Studio 2022 renders Doxygen comments (which still doesn't support colorization for the 3 backticks)
Image

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