Skip to content


Subversion checkout URL

You can clone with
Download ZIP
ChiperSoft fork of Open Library's branch of the WMD Editor. WMD is a javascript code editor and parser for the Markdown formatting language.
JavaScript Python
branch: master

This branch is 92 commits ahead, 1 commit behind internetarchive:master

Merge pull request #2 from Nilloc/master

Added OS detection to show the correct modifier key tooltop for Mac users.
latest commit 6b1abd291e
@ChiperSoft authored
Failed to load latest commit information.
License.txt Incorporated "auto-indent bug in Chrome" fix from ChadBurggraf/wmd (v…
Makefile Removed jquery elements from make file. Updated to output a combined … wtf github, you can't escape special characters in markdown readmes? generate jquery.wmd.js and jquery.wmd.min.js by combining all js files
markdownhelp.html Added a markdown reference file and changed the ? button to point to …
showdown.js Markdown Extension: Underscores are no longer interchangeable with as…
wmd-buttons.png Moving images into main folder to make install easier.
wmd-buttons.psd Moving images into main folder to make install easier.
wmd.combined.js Added detection to display proper modifier keys for Macs
wmd.combined.min.js Added detection to display proper modifier keys for Macs
wmd.css Fix for help button missposition on non-webkit browsers.
wmd.js Added detection to display proper modifier keys for Macs

WMD: The Wysiwym Markdown Editor


WMD is a JavaScript based code editor for the Markdown formatting language. It includes a Markdown interpreter – Showdown – for live preview and output of the Markdown generated HTML.

This is a fork of WMD for ChiperSoft Systems & NFY Interactive designed for use in CMS engines. It was forked from the Open Library fork of WMD, which was in turn forked from the Stackoverflow fork.

Major Changes from Open Library Revision

  • Extended showdown to support a series of Markdown extensions:
    • Link urls that start with ! are opened in a new window
    • Text wrapped with double carets is made superscript (ex: ^^this text is superscripted^^)
    • Text wrapped with double commas is made subscript (ex: ,,this text is subscripted,,)
    • Text wrapped with double tildes is made strikethrough (ex: ~~this text is struck~~)
    • (c), (r), (tm), -- and ... are converted into their respective html entities.
    • Lines prefixed with "->" are right aligned. Lines also postfixed with "<-" are center aligned.
  • Several ascii characters that may produce encoding issues (such as curled quotes) are converted into entities
  • Removed top level frame pollution, forcing WMD to run only in its own document.
  • Removed the automatic conversion from Markdown to HTML when the form is submitted.
  • Removed the automatic addition of http:// to image urls, preventing the entry of relative addresses.
  • Numerous bug fixes to both WMD and Showdown

How to use

        <title>WMD Example</title>

        <link rel="stylesheet" type="text/css" href="wmd.css"/>
        <script type="text/javascript" src="wmd.js"></script>
        <script type="text/javascript" src="showdown.js"></script>
        <h1>WMD Example</h1>

            <div id="notes-button-bar"></div>
            <textarea id="notes" name="copy"></textarea>
            <div id="notes-preview"></div>
            <input type="text" name="copy_html" value="" id="copy_html">

        <script type="text/javascript">
                input: "notes",
                button_bar: "notes-button-bar",
                preview: "notes-preview",
                output: "copy_html"


WMD Editor is licensed under MIT License.

Something went wrong with that request. Please try again.