This is a fork from the wmd branch for Open Library, which is forked from the Stackoverflow branch of wmd. I forked it and added some of the Pull Requests Nonpython created for the Stackoverflow branch. It's a jQuery plugin and is very easy to implement.
Example using wmd with jQuery:
<html>
<head>
<title>WMD Example using jQuery</title>
<link rel="stylesheet" type="text/css" href="wmd.css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.wmd.min.js"></script>
</head>
<body>
<h1>WMD Example using jQuery</h1>
<div>
<textarea class="wmd-input"></textarea>
</div>
<script type="text/javascript">
$(function() {
$(".wmd-input").wmd();
});
</script>
</body>
</html>
WMD Editor is licensed under MIT License.