Skip to content

Commit

Permalink
Rejigger preview page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkub committed Nov 24, 2009
1 parent 3a7c5a9 commit ab3d002
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#user_input {
width: 600px;
height: 170px;
margin-top: 15px;
}
#result {
width: 580px;
Expand All @@ -30,7 +31,14 @@
}
</style>

<p>This page provides a live GFM preview, rendered client-side using javascript.
The majority of the credit goes to the wonderful <a href="http://attacklab.net/showdown/">Showdown</a> script, which handles the meat of the processing.
GFM modifications for newlines and underscore-words were added. "GitHub spice" syntaxes have not yet been implemented.
</p>

<h2>User input</h2>

<textarea id="user_input">Type markdown here...</textarea>

<h3> Live preview </h3>
<h2> Live preview </h2>
<div id="result">... and get formatted output here</div>

0 comments on commit ab3d002

Please sign in to comment.