We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Name of the lexer cpp
Code sample
namespace { void f1() { } void f2() { } void f3() { } }
rouge.jneen.net doesn't seem to work.
# bundle exec rougify version 4.1.2
The first function f1 doesn't get recognized as a function name here (f2 and f3 do).
# bundle exec rougify highlight -i test1.cpp --formatter-preset html <span class="k">namespace</span> <span class="p">{</span> <span class="kt">void</span> <span class="n">f1</span><span class="p">()</span> <span class="p">{</span> <span class="p">}</span> <span class="kt">void</span> <span class="nf">f2</span><span class="p">()</span> <span class="p">{</span> <span class="p">}</span> <span class="kt">void</span> <span class="nf">f3</span><span class="p">()</span> <span class="p">{</span> <span class="p">}</span> <span class="p">}</span>
Notice how f1 has the span class of n, while f2 & f3 have the correct class nf.
span
n
nf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Name of the lexer
cpp
Code sample
rouge.jneen.net doesn't seem to work.
The first function f1 doesn't get recognized as a function name here (f2 and f3 do).
Notice how f1 has the
span
class ofn
, while f2 & f3 have the correct classnf
.The text was updated successfully, but these errors were encountered: