Introduction
A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
Plug and Play
Section titled “Plug and Play”All existing and future properties using Umbraco.MarkdownEditor will automatically use the new editor.
Removing this package will revert to the default Umbraco.MarkdownEditor, no data loss will occur.
Data Type
Section titled “Data Type”Extends the configuration to allow control over the transformation of Markdown to HTML
- Header Offset - The offset to apply to the header levels
- For example:
-1would transform# Header 1to<h2>Header 1</h2>
- For example:
- External Links Open In New Tab - Adds
target="_blank"to external links
Property Value Converter
Section titled “Property Value Converter”Replaces IHtmlEncodedString with MarkdownValue which contains the following properties
- Raw - The raw markdown as a string
- Html - The transformed HTML value
- Markdown - The Markdig MarkdownDocument