A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
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
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:
-1
would transform# Header 1
to<h2>Header 1</h2>
- For example:
- External Links Open In New Tab - Adds
target="_blank"
to external links
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.
dotnet add package jcdcdev.Umbraco.ExtendedMarkdownEditor
Contributions to this package are most welcome! Please read the Contributing Guidelines.
- LottePitcher - opinionated-package-starter
- jcdcdev - jcdcdev.Umbraco.PackageTemplate