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

merlot
- 194
- 3
- 11
1
vote
2 answers
How do you apply Markdowndeep to text in view using Razor syntax?
So I followed a tutorial setting up a Markdowndeep editor using MVC and the editor and preview work just fine. The tutorial didn't mention how to render specific text on a page using Markdowndeep though. So I did a few Google searches thinking I'd…

Noah R
- 5,287
- 21
- 56
- 75
1
vote
0 answers
Incorporating a Markdown Editor in a Userscript
I am trying to add markdowndeep as a part of a userscript I am designing. Unfortunately, Tampermonkey uses the old way of handling @Resources, and returns a base64 encoded data URI when GM_getResourceURL is called.
But trying to work with this…

Jonathon
- 2,571
- 5
- 28
- 49
1
vote
1 answer
Regex to match URL / URI except when contained in an img tag
Credit to dfowler's excellent Jabbr project, I am borrowing code to embed linked content from user posts. The code is from here and uses a regex to extract URLs for additional processing and embedding.
In my case, I run the user posts through a…

mlutter
- 23
- 4
1
vote
0 answers
Is it possible to make MarkdownDeep or MarkdownSharp handle mixed HTML/Markdown like Pandoc?
Take the following snippet of HTML mixed with Markdown.
# Hello
Translate online with Pandoc using Markdown (strict) -> Html and you get this HTML:
bentayloruk
- 4,060
- 29
- 31

bentayloruk
- 4,060
- 29
- 31
0
votes
1 answer
MSBuild command won't run from inside Visual Studio
I've been doing a few mods on the open-source MarkdownDeep but I'm having trouble getting a release out - the project includes a post-build task to do some package-ing using Nuget.exe.
I can execute the command without errors from a dos box, but…

immutabl
- 6,857
- 13
- 45
- 76
0
votes
1 answer
What's the Markdeep anchor for my heading?
I have a Markdeep document that includes a heading:
### `PG::ConnectionBad - Is the server running locally`...
I want to link to this section from elsewhere in the document. It can be reached with #toc4.2.16, which is all very well, until I change…

PJSCopeland
- 2,818
- 1
- 26
- 40
0
votes
1 answer
MarkdownDeep AutoHeadingIDs are not working
I'm working with MarkdownDeep in my WebSite:
public static MvcHtmlString FromMarkdown(this HtmlHelper helper, string value)
{
var md = new Markdown
{
ExtraMode = true,
SafeMode = true,
NewWindowForExternalLinks =…

Matthias Burger
- 5,549
- 7
- 49
- 94
0
votes
1 answer
How can I run Prettify in a WPF WebBrowser to apply syntax highlighting?
I'm creating a WPF application that allows the user to enter text in a TextBox. This text may contain Markdown syntax, which is evaluated by a MarkdownDeep object to convert the text to HTML. I take this output and feed it to a WebBrowser control…

Mage Xy
- 1,803
- 30
- 36
0
votes
1 answer
asp.net mvc translate to razor markdowndeep
Working on a 'school' project what is kind of a stackoverflow 'remake'.
The 'remake' is finished except one part.
Trying to figure out how to implement markdown(deep) so there can be questions and answers posted witch rich content instead of only…

Jim Vercoelen
- 1,048
- 2
- 14
- 40
0
votes
1 answer
ASP.NET Web API Help Page with markdown comments
I use asp.net WebApi Help Page to generate the document from comments of source code. And I have used doxygen to generate the document before. The doxygen can parse markdown syntax in the comments and output the well formatted documents. But the…

AechoLiu
- 17,522
- 9
- 100
- 118
0
votes
1 answer
MarkdownDeep pre issue
I created a web page in ASP.NET 4.0.
I'm using MarkdownDeep library (http://www.toptensoftware.com/markdowndeep/) to convert some text to HTML.
I found an issue that I can't fix. I hope you can help me.
I have some kind of forum, a want to post some…

Gabbyboy
- 1,984
- 2
- 14
- 20
0
votes
1 answer
How do I prevent HTML input in Markdowndeep?
I'm looking for a simple option to disallow any HTML entry. I want to prevent users from copy + pasting external HTML they find on the web as it always causes issues.

Zac
- 283
- 2
- 7