daux.io/docs/01_Features/Auto_Syntax_Highlight.md
2016-09-30 21:29:10 +02:00

632 B

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>
<title>Title</title>

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

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

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

See more examples of supported languages