You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to turn off syntax highlighting inside one specific <xmp> element. (They're highlighted as C++ by default, which is great, except for this one block, which I want to be plain text.) Things I've tried:
<xmp no-highlight>
$ bin/ubench --benchmark_display_aggregates_only=true --benchmark_repetitions=5 | grep mean
</xmp>
<xmp nohighlight>
$ bin/ubench --benchmark_display_aggregates_only=true --benchmark_repetitions=5 | grep mean
</xmp>
<xmp class="nohighlight">
$ bin/ubench --benchmark_display_aggregates_only=true --benchmark_repetitions=5 | grep mean
</xmp>
<xmp class="no-highlight">
$ bin/ubench --benchmark_display_aggregates_only=true --benchmark_repetitions=5 | grep mean
</xmp>
<div class="nohighlight"><xmp>
$ bin/ubench --benchmark_display_aggregates_only=true --benchmark_repetitions=5 | grep mean
</xmp></div>
My problem is that the rendered HTML invariably does
Also, the current documentation inconsistently mentions both no-highlight and nohighlight, exactly once each, so I have no way to tell which is correct even if I understood how to use them.
The text was updated successfully, but these errors were encountered:
I'm looking for a way to turn off syntax highlighting inside one specific
<xmp>
element. (They're highlighted as C++ by default, which is great, except for this one block, which I want to be plain text.) Things I've tried:My problem is that the rendered HTML invariably does
and if I use
<xmp class="nohighlight">
, well, that just producesAlso, the current documentation inconsistently mentions both
no-highlight
andnohighlight
, exactly once each, so I have no way to tell which is correct even if I understood how to use them.The text was updated successfully, but these errors were encountered: