-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Numeric code fence directives - GitHub flavor #11210
Comments
Did you try one of:
|
at the moment only |
…b flavor - support for numerical character in language name - adjusted documentation to make it more clear - stripped initial `.` in language name, as otherwise fenced code blocks with e.g. `.dot` or `.plantuml` don't work.
I've just pushed a proposed patch, pull request #11213 |
issue #11210 Support for Numeric code fence directives - GitHub flavor
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
Thank you @albert-github for the patch 🙌. |
Is it correct that you answered the question / remarks from my comments in sequence and that with the patch the problems are gone? |
Describe
I'm working on P4 compiler documentation and I noticed that when Doxygen comes across code snippets like -
It will remove the
P
fromP4
and display the 4 with the code in HTML output like this -Screenshots
I tried adding space and lowercase, but I couldn't get it to hide the P4 from the output.
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
The text was updated successfully, but these errors were encountered: