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

22 regels
565 B
Markdown

2015-12-12 00:22:43 +01:00
With the help of [highlight.js](https://highlightjs.org/) We can higlight more than 50 languages.
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 the full list of supported languages in Daux.io](../02_Examples/Code_Highlighting.md)