Closed shawnrice closed 10 years ago
I added syntax highlighting to the page using HighlightJS. You'll see these lines at the top:
<!-- Syntax Highlighting -->
<link rel="stylesheet" href="highlight/foundation.css" />
<script src="highlight/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
After that, whenever you want to put in a code block, just use:
<pre><code class="applescript">My code here</code></pre>
Easy as pie.
Done as of commit d095188dbd80c2a14eeea8c24deae25e9d858fd4
Can you do the Applescript Quickstart page? The HTML is a file called
quickstart-applescript.html
, and I've already made the stub.Take a gander at the
quickstart-php.html
file to see the sort of thing I have in mind.