Open shawnrice opened 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="python">My code here</code></pre>
Easy as pie.
Can you do the Python Quickstart page? The HTML is a file called
quickstart-python.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.