Questions tagged [markdowndeep]

17 questions
3
votes
5 answers

How do I use CoffeeScript to mock out existing code?

I'd like mock out MarkdownDeep, I've the following code, in JavaScript MarkdownDeep = new (function () { this.Markdown = function () { this.Transform = function (a) { return "html"; }; }; })(); but I'm having…
Scott Weinstein
  • 18,890
  • 14
  • 78
  • 115
1
vote
2 answers

nHibernate is stripping away a special character

I posted this once, but I was a bit too vague in my information, so I am trying again. nHibernate/Fluent nHibernate seems to be truncating, or 'stripping' certain characters from strings that I submit to my database. For example, if I submit the…
Ciel
  • 17,312
  • 21
  • 104
  • 199
1
vote
1 answer

How do I update the live preview of MarkdownDeep when adding text from jQuery .val()?

I'm currently evaluating MarkdownDeep for use on my website. Above the editor I display a list of images the user previously uploaded. To insert the image (which is wrapped in a link to the larger version) into the