| <!DOCTYPE html> |
| <html> |
| <head> |
| <!-- |
| |
| Using this tool |
| --------------- |
| |
| |
| This page lets you create HTML by entering text in a simple format that's easy to read and write. |
| |
| - Type Markdown text in the left window |
| - See the HTML in the right |
| |
| Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email. As [John Gruber] writes on the [Markdown site] [1]: |
| |
| > The overriding design goal for Markdown's |
| > formatting syntax is to make it as readable |
| > as possible. The idea is that a |
| > Markdown-formatted document should be |
| > publishable as-is, as plain text, without |
| > looking like it's been marked up with tags |
| > or formatting instructions. |
| |
| This document is written in Markdown; you can see the plain-text version on the left. To get a feel for Markdown's syntax, type some text into the left window and watch the results in the right. You can see a Markdown syntax guide by switching the right-hand window from *Preview* to *Syntax Guide*. |
| |
| Showdown is a Javascript port of Markdown. You can get the full [source code] by clicking on the version number at the bottom of the page. |
| |
| **Start with a [blank page] or edit this document in the left window.** |
| |
| [john gruber]: http://daringfireball.net/ |
| [1]: http://daringfireball.net/projects/markdown/ |
| [source code]: http://www.attacklab.net/showdown-v0.9.zip |
| [blank page]: ?blank=1 "Clear all text" |
| |
| |
| --> |
| <script> |
| function getComment() |
| { |
| var head = DOM_documentHead(document); |
| var comment = null; |
| for (var child = head.firstChild; child != null; child = child.nextSibling) { |
| if (child.nodeType == Node.COMMENT_NODE) { |
| DOM_deleteNode(child); |
| return child.nodeValue; |
| } |
| } |
| return null; |
| } |
| function performTest() |
| { |
| var comment = getComment(); |
| Clipboard_pasteText(comment); |
| showSelection(); |
| } |
| </script> |
| </head> |
| <body> |
| <p>[]</p> |
| </body> |
| </html> |