Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 830 Bytes
<!DOCTYPE html>
<html>
<head>
<title>Test WMD Page</title>
<link rel="stylesheet" type="text/css" href="wmd.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.wmd.min.js"></script>
</head>
<body>
<div style="width: 500px;">
<textarea id="xwmd-input" rows="5" style="width: 100%"></textarea>
</div>
<div style="width: 500px;">
<textarea id="ywmd-input" rows="5" style="width: 100%"></textarea>
</div>
<script type="text/javascript">
$().ready(function() {
$("textarea").wmd({
"preview": true,
"helpLink": "http://daringfireball.net/projects/markdown/",
"helpHoverTitle": "Markdown Help",
});
});
</script>
</body>
</html>