This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
wmd /
| name | age | message | |
|---|---|---|---|
| |
Uservoice bugs.txt | Thu Jan 29 13:47:03 -0800 2009 | |
| |
images/ | Sun Jan 25 02:08:39 -0800 2009 | |
| |
jQuery/ | Mon Jan 12 02:21:25 -0800 2009 | |
| |
markdown 1.0.1/ | Sat Jan 03 12:52:57 -0800 2009 | |
| |
pasteme.txt | Fri Jan 02 14:30:52 -0800 2009 | |
| |
readme.txt | ||
| |
showdown.js | Sat Jan 03 12:59:55 -0800 2009 | |
| |
wmd-test.html | Wed Jan 28 01:25:55 -0800 2009 | |
| |
wmd.css | ||
| |
wmd.js |
readme.txt
Installing WMD
--------------
1. Add the CSS stylesheet to your head.
<link rel="stylesheet" type="text/css" href="wmd.css" />
2. Add showdown.js (the markdown converter) to your head:
<script type="text/javascript" src="showdown.js"></script>
3. Add wmd.js right before your closing body tag:
<script type="text/javascript" src="wmd/wmd.js"></script>
You need to create:
-------------------
1. A button bar div
This will contain WMD's buttons. id and CSS class are "wmd-button-bar".
2. An input textarea
This is where you'll enter markdown. id and CSS class are "wmd-input".
3. A preview div (optional but recommended)
This will give you a live preview of your markdown. id and CSS class are
"wmd-preview".
4. An HTML preview div (optional and you probably don't need this)
This will show the raw HTML that the markdown will produce. Not so
useful for most web pages but useful for troubleshooting WMD :) id and
CSS class are "wmd-output".
Example:
<!DOCTYPE html>
<html>
<head>
<title>Test WMD Page</title>
<link rel="stylesheet" type="text/css" href="wmd.css" />
<script type="text/javascript" src="showdown.js"></script>
</head>
<body>
<div id="wmd-button-bar" class="wmd-button-bar"></div>
<br/>
<textarea id="wmd-input" class="wmd-input"></textarea>
<br/>
<div id="wmd-preview" class="wmd-preview"></div>
<br/>
<div id="wmd-output" class="wmd-output"></div>
<script type="text/javascript" src="wmd.js"></script>
</body>
</html>
Support
-------
If you're having trouble getting WMD up and running, feel free to
email me: <support@attacklab.net>








