Questions tagged [wmd]

120 questions
1
vote
2 answers

This doesn't happen often: Why is this JavaScript code only broken in Chrome?

I've decided that I've fallen in love with the Markdown editor on Stack Overflow. It's a fork from showdown.js from John Fraser. I want to use this parser on a project of mine, but after analyzing the source, I found that it was a bit messy for my…
Stephen
  • 18,827
  • 9
  • 60
  • 98
1
vote
1 answer

How to code a WMD plug-in for Elgg?

How do I code a WMD plug-in for the Elgg framework?
Hick
  • 35,524
  • 46
  • 151
  • 243
1
vote
1 answer

Where is the latest version of WMD editor?

The latest version of WMD on derobin's GitHub page is quite old and seems to be unmaintained. Following the social graph, the OpenLibrary WMD page looks much newer but still isn't the newest. Where is the authoritative source or blog or website? So…
Eric Falsken
  • 4,796
  • 3
  • 28
  • 46
1
vote
0 answers

HTMLPurifier ignore WMD/ WYSIWYG code samples/tags like SO does

I am testing a WMD editor like the one used here, on SO, to allow markup in user input. I apply HTMLPurifier on the input and it cleans all the bad tags. However, like SO, I also want to allow code samples like this (backticks) like this…
M.M
  • 2,254
  • 1
  • 20
  • 33
1
vote
3 answers

Upload an image with wmd?

Is it possible with the wmd editor to add a button to let the user upload an image to the web server and place the corresponding img markdown in the textbox? If not, will another good inplace editor do it? Context: I'm using asp.net mvc, C# and I am…
Nicolas Cadilhac
  • 4,680
  • 5
  • 41
  • 62
1
vote
1 answer

Can't seem to wrap WMD Markdown Editor inside JQuery Tabs

I'm trying to place a Markdown Editor inside jQuery-UI Tabs, but the editor is not being shown. <% Using Html.BeginForm()%>
1
vote
0 answers

Text does not move to next line for WMD

I am using WMD for my textarea form and for some reason the text inside the preview box does not wrap once the text inside the text area continues to the next line.
Is there a solution for this? The WMD that I am…
denniss
  • 17,229
  • 26
  • 92
  • 141
1
vote
1 answer

Whitelisting, preventing XSS with WMD control in C#

Are there any problems with what I am doing here? This is my first time to deal with something like this, and I just want to make sure I understand all the risks, etc. to different methods. I am using WMD to get user input, and I am displaying it…
Jason
  • 11,435
  • 24
  • 77
  • 131
1
vote
1 answer

How to capture the markdown from a WMD-Editor server side in a ASP.NET website?

I'm using an asp:TextBox as the wmd-input. As the user clicks the submit button I wan't to capture the markdown at server side as the Text property of my asp:TextBox control. However, instead of the expected markdown, my TextBox at server-side…
Andre Pena
  • 56,650
  • 48
  • 196
  • 243
1
vote
2 answers

which wmd-editor repository to use

I read that the original wmd-editor is no longer maintained so there was an effort to reverse engineer it, hosted on github. However this version is not ready because it references a number of undefined functions, for example: processHeadings is…
hoju
  • 28,392
  • 37
  • 134
  • 178
1
vote
2 answers

markdown to HTML with customised WMD editor

For my application I customized slightly the way WMD behaves so when user enters empty lines, these are reflected in HTML output as
's. Now I came to a point when I should store it somewhere at backend and so after going thru SO posts for a…
spirytus
  • 10,726
  • 14
  • 61
  • 75
1
vote
2 answers

wmd markdown code problem

i m using wmd markdown editor in my project and i have a problem with code tags: if i enter a code snippet , markdown does not convert to html correctly it converts in "

" tags but if i enter some text else first and then code snippet it converts…

fealin
  • 443
  • 1
  • 4
  • 13
1
vote
1 answer

MathJax - Optimize performance on multiple typeset

I'm trying to implement partial rendering in my Markdown editor by converting Markdown/Tex in modified paragraphs only. So basically, I have a #preview element that contains multiple .preview_section elements containing themselves the converted HTML…
benweet
  • 3,685
  • 1
  • 21
  • 26
1
vote
0 answers

MathJax WMD-markdown updates only on alternate keystrokes

I am trying to get MatJax and Markdown work together, by using almost standard code I was able to get it working but now I am facing a weird issue. My WMD preview is updated only on alternate keystrokes...!! The javascript to init WMD is as…
user2014387
  • 33
  • 1
  • 4
1
vote
5 answers

Which WYSIWYM editor to use?

I need a WYSIWYM markdown editor for my web application and I heard WMD was the obvious choice. To my surprise WMD breaks in IE8. What other option do I have, or is there a version that's been tested on IE8 and is compatible?
AJ.
  • 2,561
  • 9
  • 46
  • 81