Skip to content

Support for Numeric code fence directives - GitHub flavor #11210

@AdarshRawat1

Description

@AdarshRawat1

Describe

I'm working on P4 compiler documentation and I noticed that when Doxygen comes across code snippets like -

  • image

It will remove the P from P4 and display the 4 with the code in HTML output like this -

  • image

Screenshots

I tried adding space and lowercase, but I couldn't get it to hide the P4 from the output.
image

Expected behavior

Is there a way to hide this unknown directive, i.e. P4 from output. All the above mentioned ways render correctly on GitHub.
p.s. I'm not asking for the support of P4 language in Doxygen, but I want to hide the directive from the output.

Additional context

I added random characters (Alphabets Only) for directives, and it was not visible in the output [Expected Behavior]. So, I think the issue is due to the number 4.

Version

1.12.0

Zip File

Code_snippets.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions