Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added images, HTML test file, pastable markup

My other .js files are the originals so that's a step back but I'll remerge those shortly.
  • Loading branch information...
commit 918930b81dbda143a13ba637b511b0c2a11f7faa 1 parent dafdc2c
@derobins derobins authored
View
BIN  images/bg-fill.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/blockquote.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/bold.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/code.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/h1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/hr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/img.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/italic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/link.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/ol.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/redo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/separator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/ul.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/undo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/wmd-on.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  images/wmd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
136 pasteme.txt
@@ -0,0 +1,136 @@
+This is some regular text.
+
+Here is some text with stuff that requires special handling: ( ) [ ] { } /\ ~
+
+What if I put in some internal markup? ~T ~K2K
+
+ This is code and preformatted text. /* comment*/ <b>Not bold</b>
+
+Here is an `inline code block` created with backticks.
+
+This text uses a line
+break
+
+Some text in *italics* and some _more text in italics._
+
+Some **bold** text and __some more.__
+
+Both ***bold and italic*** and ___again___.
+
+Here is a standard hyperlink <a href="http://stackoverflow.com/">Stack Overflow</a>
+
+Inline link to [Google](http://www.google.com/)
+Reference-style link to [Google][1]
+Here's a more readable reference link to [Google][google]
+
+Here's an inline [link](http://www.google.com/ "Google") with a tooltip in quotes.
+A reference [link][parens] in parentheses.
+A reference [link][quotes] in quotes.
+
+Automatically converted link: http://www.stackoverflow.com
+A link that is forced: <http://www.stackoverflow.com>
+
+Level 1 Header can use any number of equal signs
+=
+
+Level 2 Header can use any number of dashes
+-
+
+# You can also use #
+## Hash marks to create header levels
+### The closing hash marks are optional ###
+
+Horizontal rules use 3 or more hyphens, asterisks or underscores
+
+---
+text
+***
+text
+___
+text
+
+breaking up the line markers also works
+* * *
+A bulleted list:
+
+- Use a dash
++ Or a plus sign
+* Or an asterisk
+
+A numbered list:
+
+1. Numbered lists are easy
+2. The numbers are automatically tracked
+7. So this will be number 3
+
+Double-spaced list:
+
+- You can make a spaced-out list wrapped in `<p>` tags
+
+- By putting a space in between the lines
+
+Nested Lists:
+
+1. Lists in a list item:
+ - Indent four spaces
+ * Per list level
+
+2. You can do multiple paragraphs if you skip a line.
+
+ And indent four spaces.
+
+ Three works, too but that can be confusing.
+
+3. To put blockquotes in a list item
+
+ > Skip a line and indent the starting '>' four spaces.
+
+4. To put preformatted code in a list item
+
+ Skip a line and indent <b>eight</b> spaces.
+
+Simple Blockquotes
+
+>Just add > to the start of the line.
+>And you'll get a blockquote.
+
+Blockquote paragraphs
+
+> Putting a >
+>
+> on blank lines is optional
+
+> it all looks the same to the markdown editor.
+
+Blockquote nesting
+
+>You can nest
+>>blockquotes to any
+>>>level you want
+
+Lists in blockquotes
+
+> - A list in a blockquote
+> - Have to have a > and a space before the bullet marker
+> * And you can do nested lists.
+
+Code and quotes
+
+> Just indent the text four spaces after the >
+
+Images
+
+Inline image: ![Alt text goes here](http://w3.org/Icons/valid-xhtml10)
+Reference image with tooltip: ![valid XHTML][checkmark]
+You can't do this ![checkmark]
+but you can do this ![checkmark][] where the ref name will be the alt text.
+
+Regular image links also work, including scaling:
+<img src="http://w3.org/Icons/valid-xhtml10" width="100" height="25">
+
+
+[1]: http://www.google.com
+[Google]: http://www.google.com
+[parens]: http://www.google.com (Click to go to Google)
+[quotes]: http://www.google.com "Click for Google"
+[checkmark]: http://w3.org/Icons/valid-xhtml10 "Image tooltip"
View
7 wmd-test.css
@@ -0,0 +1,7 @@
+.pretty { width:50%; }
+
+textarea { width:50%; height:200px; }
+
+.wmd-preview { background-color:#66CCFF; }
+
+.wmd-output { background-color:#FFCCFF; }
View
17 wmd-test.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+
+ <head>
+ <title>Test WMD Page</title>
+ <link rel="stylesheet" type="text/css" href="wmd-test.css" />
+ </head>
+
+ <body>
+ <textarea class="edit pretty"></textarea>
+ <br/>
+ <div class="wmd-preview pretty"></div>
+ <br/>
+ <div class="wmd-output pretty"></div>
+ <script type="text/javascript" src="wmd.js"></script>
+ </body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.