Questions tagged [wmd]
120 questions
2
votes
2 answers
markdowndeep image upload
I'm working with MarkDownDeep. It has a similar "insert image" function like SO does.
I'd like to extend this function to use a bootstrap modal that would allow the user to upload their own images or at least get a typeahead working so that a user…

Eonasdan
- 7,563
- 8
- 55
- 82
2
votes
4 answers
How to switch web app from HTML to Markdown?
I've got a django-powered site. Currently, all of the textfields are just plain old text inputs that take raw HTML. I have no fancy editor or anything. I would like to start using Markdown and WMD to make things easier for everyone.
Do I have to…

Apreche
- 30,042
- 8
- 41
- 52
2
votes
1 answer
WMD Markdown and server-side
I have worked the last 2 days on WMD and Markdown, and I don't find THE solution for stock data with security. I would like users to be able to post HTML/XML
(with WMD) on my site.
For the moment, I stock data in the Markdown format, but if…
None
2
votes
1 answer
Problem with WMD editor
Has anyone used wmd editor?
I am having a problem with the editor in a form. Its not being configured as the editor after setting up in a form. Only the text area is shown with no editing options. The form has already many controls and other…

rahul
- 184,426
- 49
- 232
- 263
2
votes
1 answer
WMD - get markdown text
I'm using markdown editor in my app.
$(document).ready(function () {
var converter = Markdown.getSanitizingConverter();
var editor = new Markdown.Editor(converter);
editor.run();
});

jwaliszko
- 16,942
- 22
- 92
- 158
1
vote
0 answers
Stackoverflow wmd load on click event
I'm having a problem using the wmd re-engineer script.
The problem is the div where the wmd-container sits has display:none. This causes the following errors to be outputed constantly:
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)…

slik
- 5,001
- 6
- 34
- 40
1
vote
3 answers
Pagedown (WMD-Editor) Java Sanitizer (or OWASP xml rules)
I'm using the reimplementation of the famous wmd-javascript editor PageDown on client side (which is also used on Stackoverflow).
Now, I'm searching an HTML sanitizer for my server (runs tomcat7) which should only filter the HTML-subset that the…

Thomas Pototschnig
- 241
- 1
- 3
- 8
1
vote
2 answers
From where can I download the WMD editor?
I would like to add WMD editor to my website, but I do not find the source code of it anywhere. Where is it?

Vivek
- 4,526
- 17
- 56
- 69
1
vote
3 answers
running showdown.js serverside to conver Markdown to HTML (in PHP)
I am trying to implement WMD onto my website and was wondering how would I go about running showdown.js server side to convert markdown to HTML? (in order to store both in the DB)
I am using PHP...any tips would be helpful (never ran any sort of js…

Andrew
- 3,650
- 9
- 31
- 32
1
vote
0 answers
Cannot pip3 install wmd on M1 mac
I can't install wmd on my M1 mac, it works perfectly on my intel MacBook but I can't get it working on Apple silicon.
pip3 install wmd gives me the following error:
Collecting wmd
Using cached wmd-1.3.2.tar.gz (104 kB)
Preparing metadata…

Kalle
- 33
- 1
- 5
1
vote
1 answer
How to control allowed HTML tags in WMD Editor?
I am trying to some-how set the valid HTML tags and attributes users would be able to use in WMD Editor in my site. For example, I want to forbid the user to directly set the font size, color, typeface and so on, which is trivial to do with the…

mmutilva
- 18,688
- 22
- 59
- 82
1
vote
1 answer
Can I optimize this Word Mover's Distance look-up function?
I am trying to measure the Word Mover's Distance between a lot of texts using Gensim's Word2Vec tools in Python. I am comparing each text with all other texts, so I first use itertools to create pairwise combinations like [1,2,3] -> [(1,2), (1,3),…

Bertil Johannes Ipsen
- 1,656
- 1
- 14
- 27
1
vote
1 answer
Removing toolbar buttons from the WMD Editor by Derobins
I am trying-out Derobins WMD Editor but would like to know where I can remove some of the buttons at the header since I don't need them in my PHP app.
Buttons like image, anchor link etc.

Frank Nwoko
- 3,816
- 5
- 24
- 33
1
vote
0 answers
Relaxed Word Mover's Distance in R
I am using Relaxed Word Mover's Distance in the package text2vec to compute the distance between documents, so as to identify the most similar document for each target document. Word vectors are compiled using FastText available in the pacakage…

TMC
- 11
- 1
1
vote
1 answer
In K-Means clustering algorithm(sklearn) how to override euclidean distance to some distance
I have some set of documents, I just want to group related docs. Currently I'm using google's news vector file (GoogleNews-vectors-negative300.bin) and with this vector file I'm getting the vector and I use WMD (Word Mover Distance) algorithm to get…

kathir raja
- 640
- 8
- 19