doxygen-rs
doxygen-rs copied to clipboard
Added support for @code ... @endocde commands
Adds support for doxygen code commands
Notable changes:
- Added
\tchar as a possible whitespace - Whitespaces used to be collapsed in the lexer. Since code blocks should retain all formatting, lexer emits
Whitespaceitems for every whitespace instead. Now they are collapsed in the parser, which checks if the lastGrammarItemends with a whitespace @codecan optionally have an additional parameter (lang) passed with brackets as in@code{.py}. For that, I changed the parameter parsing logic to parse parameters separated with whitespace (including multiple whitespace lexemes) and inside of the brackets.
I'll try to review this PR in the weekend, thank you for your patience! :)
Hi! Any updates @Techie-Pi? We've been waiting on this for https://github.com/vita-rust/vitasdk-sys/pull/30
Sorry, I've not been able to review this PR sooner, lots of exams... I'll try to publish a new release in the following weeks. In the meantime you could depend on the repo itself.
No worries and TYSM!