Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat is this WMD example missing?
    primarykey
    data
    text
    <p>Take it easy on me, guys. I have no idea what I'm doing.</p> <p>I cloned the Git repository for the <a href="http://github.com/openlibrary/wmd" rel="nofollow noreferrer">OpenLibrary/WMD</a> fork based on my research that led me to <a href="https://stackoverflow.com/questions/2874646/which-stackoverflow-style-markdown-wmd-javascript-editor-should-i-use">this question</a>.</p> <p>I opened the wmd-test.html file in my browser, thinking it would be a full working example of the WMD editor in action. But all I see are two textareas, which don't appear to do anything when I type into them (I was expecting a live preview). I tried this page in Firefox 3.6.8, Chrome 6, and IE 9 (beta).</p> <p>Would anybody care to steer this poor, clueless developer in the right direction? What am I missing?</p> <p>I'm including the html file in its entirety here, as it isn't long.</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Test WMD Page&lt;/title&gt; &lt;link rel="stylesheet" type="text/css" href="wmd.css" /&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="jquery.wmd.min.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div style="width: 500px;"&gt; &lt;textarea id="xwmd-input" rows="5" style="width: 100%"&gt;&lt;/textarea&gt; &lt;/div&gt; &lt;div style="width: 500px;"&gt; &lt;textarea id="ywmd-input" rows="5" style="width: 100%"&gt;&lt;/textarea&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; $().ready(function() { $("textarea").wmd({ "preview": true, "helpLink": "http://daringfireball.net/projects/markdown/", "helpHoverTitle": "Markdown Help", }); }); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload