7/25/2023 0 Comments Easy markdown target blank![]() When set, all links get rel="nofollow" attribute virtual string OnQualifyUrl(string url) Only used when image sizes are read from DocumentRoot or Limit the width of images (0 for no limit). Typical value: c:\inetpub\www\wwwroot\subfolder int MaxImageWidth Local file system location of the current document. Typical value: c:\inetpub\www\wwwroot string DocumentLocation Local file system location of the document root. When set, will try to determine the width/height for local images by searchingįor an appropriately named file relative to the specified location When true, all urls (qualified or not) will get target="_blank" attribute (useful for preview mode on posts) string DocumentRoot When true, all fully qualified urls will be give `target="_blank"' attribute causing them toĪppear in a separate browser window/tab (ie: relative links open in same window, qualified links open externally) bool NewWindowForLocalLinks When set, all non-qualified urls (links and images) will be qualified using this location as the base.(Useful when rendering RSS feeds that require fully qualified urls). When set, all headings will have an auto generated ID attribute based on the heading text (uses the same algorithm as Pandoc) bool UrlBaseLocation (Similar to Pandoc's handling of markdown in html) bool AutoHeadingIDs When set, all html block level elements automatically support markdown syntax within them. Set to true to enable ExtraMode, which enables the same set of features as implemented by PHP Markdown Extra. Set to true to only allow whitelisted safe html tags bool ExtraMode Transforms the input string from Markdown to HTML using the currently set options. MarkdownDeep supports the following methods and properties. Transform your text: var output=markdown.Transform(new_content) Update your web page to reference the script: Ĭreate the MarkdownDeep object: var markdown = new MarkdownDeep.Markdown() Transform the Markdown content: string output = md.Transform(input) Ĭopy the script file to your server ![]() Of different ways - please consult the documentation for your development tool.Ĭreate an instance of the MarkdownDeep object. Depending on your development environment this might be done in any of a number The client side editor GUI, see here.NET Editionīefore using MarkdownDeep, you must add a reference to the MarkdownDeep.dll assembly from your ![]() Note: This page covers the Markdown to HTML text transformation APIs. ![]()
0 Comments
Leave a Reply. |