nohighlight - speced/respec GitHub Wiki

.nohighlight

Disables syntax highlighting for a specific <pre> code block. By default, ReSpec syntax-highlights all <pre> elements.

Usage

<pre class="nohighlight">
This is plain text or pseudocode.
It will not be syntax-highlighted.
</pre>

Notes

  • Without .nohighlight, ReSpec uses highlight.js to auto-detect and highlight the language
  • Use .nohighlight for pseudocode, ABNF grammars, or other content where syntax highlighting would be distracting
  • To specify a language explicitly instead: <pre class="js"> for JavaScript, <pre class="css"> for CSS, etc.
⚠️ **GitHub.com Fallback** ⚠️