Skip to content

Commit

Permalink
Added example of highlighting code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed May 8, 2011
1 parent 141ccbb commit 2fde08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ex.bash.html
Expand Up @@ -118,13 +118,13 @@ <h1>Syntax: Bash</h1>
#set +x
</pre>

<p>This next example uses inline HTML to markup <code class="syntax bash"><span class="function">rd-resolve-test</span></code>.</p>
<p>This next example uses inline HTML to markup and highlight <code class="syntax bash-script">rd-resolve-test bob</code>.</p>

<pre id="ex2" class="syntax brush-bash">samuel@ayako:~$ which git
/usr/bin/git
samuel@ayako:~$ ls -lah
getconf getent getopt getopts gettext gettext.sh gettextize
samuel@ayako:~# sudo <span class="function">rd-resolve-test</span> bob
samuel@ayako:~# sudo <span class="highlight"><span class="function">rd-resolve-test</span> bob</span>
/home/samuel</pre>

<p>Here is the HTML of the above <code class="syntax html">&lt;pre&gt;</code>:</p>
Expand Down

0 comments on commit 2fde08e

Please sign in to comment.