How to enable WMD Editor on my site?

I know this may seem like a simple question, but with all versions of WMD there I need to know how to enable the WMD Editor on my website, and is there a server control for inclusion on the server or are there only WMD classes for managing and disinfecting the input content?

+3
source share
1 answer

I recently wrote an article on my blog with a simple discussion of how to get the derobins wmd editor (the same as the wmd SO editor) on my website: http://codesprout.blogspot.com/2011/03/wysiwyg-derobins -wmd-markdown-editor-in.html On my blog, I provide links to download the latest WMD editor, instructions, and a test page that comes with WMD download.

Installation Installation
instructions were pretty good, so the installation went smoothly!

Usage
I found it a little useful to skip the wmd testing page to get an idea of ​​the editor (which should be pretty familiar to people who are already familiar with StackOverflow).


, / wmd -, , wmd , , .

1: wmd. readme wmd download.

2: ( MarkdownControl).

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<div id="wmd-editor" class="wmd-panel">
 <div id="wmd-button-bar"></div>
 <textarea id="wmd-input"></textarea>
</div>
<div id="wmd-preview" class="wmd-panel"></div>

3. :

<% Html.RenderPartial("MarkdownControl"); %>

: WYSIWYG , -! : www.mydevarmy.com/Competition/Propose

+3

All Articles