565 B
565 B
With the help of highlight.js We can higlight more than 50 languages.
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>