1 vote

MarkdownDeep Editor

The "MarkdownDeep Editor for Umbraco" is a data-type that allows you to write your content using MarkdownDeep syntax.

Configuration options are available to enable/disable the EditorUI.

This package is a fork of "Markdown Editor for Umbraco" developed by "leekelleher" (visit http://markdown4umb.codeplex.com/).

"MarkdownDeep Editor for Umbraco" uses MarkdownDeep instead of MarkdownSharp, that adds table feature with alignment, colspan and head-style attributes to any table cell.

MarkdownDeep Editor allow detailed level of customization. You can enable/disable:

  • safeMode: only safe markup
  • extraMode: enables MarkdownExtra extensions
  • markdownInHtml: allow markdown syntax in nested html
  • autoHeadingIDs: automatically generate IDs for headings
  • newWindowForExternalLinks: new window for external links (target=_blank)
  • newWindowForLocalLinks: new window for local links (target=_blank)
  • noFollowLinks: add rel=nofollow to all external links
It is possibile to utilize custom Markdown formatter: add class in App_Code folder. This class will be inherits from Xilium.MarkdownDeepEditor4Umbraco.TextFormatter.TextFormatterBase, with "DefaultTextFormatter" attribute declaration.
example:
using Xilium.MarkdownDeepEditor4Umbraco.TextFormatter;
[DefaultTextFormatter()]
public class MyMDDFormatter : TextFormatterBase {
private Xilium.MarkdownDeep.Markdown _instance = null;

public MyMDDFormatter(DataEditor dataEditor, Options options)
: base(dataEditor, options) {

this._instance = new Xilium.MarkdownDeep.Markdown();
this._instance.SafeMode = true;
this._instance.ExtraMode = true;
this._instance.MarkdownInHtml = false;
}

public override string Transform(string value) {
return this._instance.Transform(value);
}
}

 

News in 2.1.0 version:

  • add default css file to render Preview area. It defines titles, paragraph and tables tag.
  • add setting option to define custom className for Editor control.
  • add setting option to define custom css file to import for define custom Preview.

News in 2.1.1 version:

  • updated Xilium.MarkdownDeep.dll.

MarkdownDeep syntax

For a reference to MarkdownDeep and its syntax please visit: https://github.com/Xilium-it/MarkdownDeep

Project page: https://github.com/Xilium-it/MarkdownDeepEditor4Umbraco


Package owner

Flavio Spezi

Flavio Spezi

Flavio has 313 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.7.x (untested)
Version 8.6.x (untested)
Version 8.5.x (untested)
Version 8.4.x (untested)
Version 8.3.x (untested)
Version 8.2.x (untested)
Version 8.1.x (untested)
Version 8.0.x (untested)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (0%)
Version 7.0.x (0%)
Version 6.2.x (100%)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Flavio Spezi
  • Created: 23/08/2013
  • Current version 2.1.1
  • License MIT
  • Downloads on Our: 1754