Questions tagged [wmd]

120 questions
1
vote
1 answer

Is there a maintained version of WMD

Is there a version of WMD: The Wysiwym Markdown Editor, available which has been maintained the last years? If found a gazillion different version like this one but all haven't been updated since a few years.
Roel Veldhuizen
  • 4,613
  • 8
  • 44
  • 78
1
vote
1 answer

multiple wmd textareas on the same page

I'm trying to use the wmd markdown text editor for my site. I have two textareas on my page and I need the wmd editor for both. By default, it assigned it only to the first texarea, but how do I apply it to both textareas? Also, I always get an…
Swami
0
votes
1 answer

What spellchecker does StackOverflow use?

I'm sold on the WMD textarea and markdown, but I'd like to give the same features to my users too!
Rob
  • 1,297
  • 2
  • 16
  • 30
0
votes
1 answer

how can we highlight text and apply colours, make hyperlink of selected portions

I want to select the bunch of text (selection is dependent on the user), it will be plain text. As the user will select the text range, I need to highlight it, and apply some colors to indicate. If possible I need to make them as hyperlinks so that…
Ravi Gadag
  • 15,735
  • 5
  • 57
  • 83
0
votes
1 answer

Chipersoft WMD - Yahoo Yui Reset.css - Preview Mode not working

I wrote a custom Symfony (1.4) Textarea class to allow the ability to convert a textarea into a WMD editor. Right now I am using Chipersoft WMD along with a few Yahoo yui (v3.4.0) css libraries (reset, fonts, and grids). Everything works great,…
Mike Purcell
  • 19,847
  • 10
  • 52
  • 89
0
votes
0 answers

wmd model gensim is returning infinity

I am trying to calculate the wmd distance amongst the below 2 vectors and the result I am receiving is Infinity. I even tried just checking for word 'django' and 'django' and even then it returns inf (Infinity). Can anyone suggest a better trained…
0
votes
0 answers

How can we use our own customised embedding with WordMoverDistance?

To use WMD we need some word embeddings. For this example a pre-trained embedding provided by Gensim 'word2vec-google-news-300' is used. Below is code snippet: import gensim.downloader as api model = api.load('word2vec-google-news-300') distance =…
0
votes
1 answer

RobinBrouwer WMD - Reading Basic jQuery

I'm new to jQuery (and truth be told I am only using it because this WMD editor requires it). Anyway, I am looking at the jQuery code (go to the above link and view jquery.wmd.js) and there are option defaults: WMDEditor.defaults = { //…
Tomas Reimers
  • 3,234
  • 4
  • 24
  • 37
0
votes
1 answer

SO WMD editor javascripts load RoutingError

I'm sure the answer to this is very straightforward: I'm trying to use the WMD editor from derobins (Here) with my rails app (it's the one on SO that I'm using as I type). But for some reason the js files (showdown.js and wmd.js) aren't loading. In…
jonic
  • 161
  • 1
  • 2
  • 11
0
votes
1 answer

Using wmd-new to submit markdown

Does anyone use the wmd-new editor posted on google code? I've installed the editor and got it to work correctly. I thought the editor would submit raw markdown. To my surprise it submits HTML. This is a problem because I need to store a markdown…
Mohamad
  • 34,731
  • 32
  • 140
  • 219
0
votes
1 answer

Which fork of jQuery-compatible WMD is the fork to pay attention to?

There seems to be little organization or effort to lead a stable or most up-to-date version of the jQuery-compatible version of WMD. https://github.com/openlibrary/wmd/network The latest version of the Open Library branch is almost a year old and…
Miz
  • 21
  • 3
0
votes
1 answer

Iterate efficiently over a list of strings to get matrix of pairwise WMD distances

I am trying to generate a matrix of pairwise distances from a list strings (newspaper articles). WMD distance is not implemented in scipy.spatial.distance.pdist so I hook this implementation: https://github.com/src-d/wmd-relax to SpaCy. However, I…
Jan Pesl
  • 29
  • 5
0
votes
1 answer

Decision that texts or sentences are equivalent in content

The classic example of determining similarity as distance Word Mover's Distance as for example here https://markroxor.github.io/gensim/static/notebooks/WMD_tutorial.html, word2vec model on GoogleNews-vectors-negative300.bin, D1="Obama speaks to the…
vmk
  • 105
  • 1
  • 7
0
votes
1 answer

WMD editor is not working on facebook? Editor doesn't show when called from an iframe

This one works http://www.exootlab.com/ivolgina/test2.php and this one http://apps.facebook.com/ivolgina/test2.php doesnt! Does anyone know how to fix this?‎ Editor doesn't show when called from an iframe. PS: Both are same page, one loaded in FB…
kornesh
  • 618
  • 2
  • 9
  • 24
0
votes
1 answer

How to have a function executed each time the WMD preview is refreshed?

I need to have a function executed each time the preview is refreshed for a WMD control. Is there some function I can use to insert a hook for preview refreshes?
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361