shawnrice / bundler-docs

Documentation Development for Alfred Bundler
http://shawnrice.github.io/alfred-bundler
2 stars 0 forks source link

Python Quickstart #2

Open shawnrice opened 10 years ago

shawnrice commented 10 years ago

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.

shawnrice commented 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.