To highlight code block in your post We have included highlight.js. 22 Common languages support by default.

Here is a small example of highlighting. Sample code from Bootstrap.


<div class="btn-group btn-group-justified" role="group" aria-label="...">  
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Left</button>
  </div>
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Middle</button>
  </div>
  <div class="btn-group" role="group">
    <button type="button" class="btn btn-default">Right</button>
  </div>
</div>