Questions tagged [wmd]

120 questions
0
votes
2 answers

Can't seem to save the markup version of the text using wmd-editor

I'm running into an issue when I am saving the context of textarea using the wmd-editor it keeps wanting to save it as html. I have the following code: The input elements...

<%= this.Html.TextArea("Body", topic.Body, new { @class = "big"…

mattruma
  • 16,589
  • 32
  • 107
  • 171
0
votes
1 answer

WMD Output Issue

I have an issue with my google app engine whereby I am using wmd to input text and save text. In preview mode, I can see the wmd formatted correctly as html, but when I switch to output, I just see unformatted wmd. I have python-wmd installed, but…
Chris
  • 1
  • 1
0
votes
3 answers

WMD Preview Doesn't Match Output

I am using WMD in a google app situation whereby the site administrator can update the pages of the site and the users see the information. The preview function is working fine and I can see the text the way I want it to appear, but when I am in…
user226796
0
votes
1 answer

WMD editor - how to create hyperlink on an image?

Using the WMD markdown editor, how can I create a hyperlink on an image ? I saw some people managed to do this, but how?
Mask
  • 33,129
  • 48
  • 101
  • 125
0
votes
1 answer

Having a Couple of Issues with Derobins's WMD

I've got a small issue with Derobin's implementation of WMD editor. It doesn't seem to be formatting properly and I'm not entirely sure why. Though I'm not sure if I should be asking this on Doctype or not either. I was using the markdown text…
LiamGu
  • 5,317
  • 12
  • 49
  • 68
0
votes
1 answer

WMD Markdown showing in preview div

I have just implemented WMD for my editor in an ASP.NET app. The problem is the preview doesn't show the formatted HTML but the markdown instead. So if I use the (surrounded by double stars markdown syntax) I get exactly that in the preview, when I…
Andy
  • 739
  • 1
  • 9
  • 18
0
votes
1 answer

Link rendering issue while server side markdownsharp conversion and sanitization - how to get the same output as pagedown does

I'm using pagedown editor. The code I'm using for gerating the preview is following: $(document).ready(function () { var previewConverter = Markdown.getSanitizingConverter(); var editor = new Markdown.Editor(previewConverter); …
jwaliszko
  • 16,942
  • 22
  • 92
  • 158
0
votes
1 answer

Highlighted code in a post are affecting my website

i am using my WMD editor to as markup editor and google prettify to highlight syntax marked by WMD editor,i am using yii as a framework and whenever i include some html in my code,in stead of being highlighted they are being interpreted as part of…
Eliethesaiyan
  • 2,327
  • 1
  • 22
  • 35
0
votes
2 answers

Yii`s jQuery.yii.js not loading first

i am using wmd editor which,it has its own js files that requires jQuery to be be loaded first,however Yii framework has its own Jquery library that is registered in the asset that loads after all head elements,Wmd editor crushes if jQuery is not…
Eliethesaiyan
  • 2,327
  • 1
  • 22
  • 35
0
votes
1 answer

How i can convert my html to back WMD editor?

I have already html in my database and i want to use wmd editor, but when i get html from database wmd editor showing html in wmd editor, but i want wmd style html. like for bold ** bold **. Any one have solution.
Omer Bilal
  • 53
  • 6
0
votes
2 answers

how to save data in database from wmd editor

I am saving the content from the textarea its just saving this as plane text in database not like shown in preview how to store data shown in preview //in form; //in…
StaticVariable
  • 5,253
  • 4
  • 23
  • 45
0
votes
1 answer

Should I use strip tags on the fly or store on server already stripped

I am using WMD like stackoverflow uses. I have read the upvoted posts on the topic which all advise to store both the markdown and the html_purified versions on the server. The reason for this is the markdown is needed for the user to edit his post,…
yehuda
  • 1,254
  • 2
  • 11
  • 21
-1
votes
1 answer

How to capture the output from wmd editor in C# asp.net 3.5

I'm using WMD -editor in a message board Application that I am developing in ASP .net 3.5 using C# . How can I capture the output(markdown?) to the server side so that I can save the user input. All I could come up is this : var txt…
ankur
  • 127
  • 1
  • 2
  • 10
-1
votes
2 answers

WMD - How to get the generated\Markdown HTML Code

well i got WMD but i am unable to learn how to get the generated HTML\Markdown Code.... i want to send it to the DB... thats why i am using PHP....