Skip to content

Commit

Permalink
fixed a few styling issues with headers and code-pre tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rthauby committed Oct 19, 2011
1 parent 1868312 commit efb2e4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Expand Up @@ -28,15 +28,15 @@ <h3>Configuration</h3>

<p>A basic configuration file looks like this:</p>

<code><pre>{
<pre><code>{
"title" : "Paige.js",
"content_file" : "README.mdown",
"include_index" : true,
"docco_files" : "src/*.coffee",
"header" : "Paige.js",
"subheader" : "The quickie-wiki Github project page generator",
"background" : "bright_squares"
}</pre></code>
}</code></pre>

<p>The properties here are:</p>

Expand Down
2 changes: 1 addition & 1 deletion vendor/showdown.js
Expand Up @@ -874,7 +874,7 @@ var _DoCodeBlocks = function(text) {
codeblock = codeblock.replace(/^\n+/g,""); // trim leading newlines
codeblock = codeblock.replace(/\n+$/g,""); // trim trailing whitespace

codeblock = "<code><pre>" + codeblock + "</pre></code>\n";
codeblock = "<pre><code>" + codeblock + "</code></pre>\n";

return hashBlock(codeblock) + nextChar;
}
Expand Down

0 comments on commit efb2e4f

Please sign in to comment.