daux.io/docs/01_Features/Auto_Syntax_Highlight.md

24 lines
632 B
Markdown
Raw Normal View History

With the help of [highlight.js](https://highlightjs.org/) We can highlight more than 150 languages.
To be precise, we support all languages supported by highlight.js `9.7.0`.
2015-12-12 00:22:43 +01:00
Here is a quick example :
**HTML (with inline css and javascript)**
<!DOCTYPE html>
<title>Title</title>
2015-12-12 00:22:43 +01:00
<style>body {width: 500px;}</style>
2015-12-12 00:22:43 +01:00
<script type="application/javascript">
function $init() {return true;}
</script>
2015-12-12 00:22:43 +01:00
<body>
<p checked class="title" id='title'>Title</p>
<!-- here goes the rest of the page -->
</body>
2015-12-12 00:22:43 +01:00
[See more examples of supported languages](../02_Examples/Code_Highlighting.md)