33 lines
477 B
HTML
33 lines
477 B
HTML
|
<body>
|
||
|
<section id="main" class="language-javascript">
|
||
|
|
||
|
<pre>
|
||
|
|
||
|
<code>
|
||
|
|
||
|
|
||
|
var example = {
|
||
|
foo: true,
|
||
|
|
||
|
bar: false
|
||
|
};
|
||
|
|
||
|
|
||
|
</code>
|
||
|
|
||
|
</pre>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
<script src="prism.js"></script>
|
||
|
<script src="plugins/normalize-whitespace/prism-normalize-whitespace.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
// Optional
|
||
|
Prism.plugins.NormalizeWhitespace.setDefaults({
|
||
|
'remove-trailing': true,
|
||
|
'remove-indent': true,
|
||
|
'left-trim': true,
|
||
|
'right-trim': true,
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|