Skip to content

jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

jcdcdev.Umbraco.ExtendedMarkdownEditor

Umbraco Marketplace License NuGet Downloads Project Website

A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.

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

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>
  • External Links Open In New Tab - Adds target="_blank" to external links

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

Quick Start

dotnet add package jcdcdev.Umbraco.ExtendedMarkdownEditor

Contributing

Contributions to this package are most welcome! Please visit the Contributing page.

Acknowledgements (Thanks)