Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (15 sloc) 632 Bytes

With the help of highlight.js We can highlight more than 150 languages.

To be precise, we support all languages supported by highlight.js 9.7.0.

Here is a quick example :

HTML (with inline css and javascript)

<!DOCTYPE html>

<style>body {width: 500px;}</style>

<script type="application/javascript">
  function $init() {return true;}

  <p checked class="title" id='title'>Title</p>
  <!-- here goes the rest of the page -->

See more examples of supported languages

You can’t perform that action at this time.