Skip to content

Commit 7e14506

Browse files
committed
docs: README
1 parent 41d666c commit 7e14506

File tree

2 files changed

+33
-8
lines changed

2 files changed

+33
-8
lines changed

.github/README.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,42 @@
55
[![GitHub license](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=8AB803)](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/LICENSE)
66
[![Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.ExtendedMarkdownEditor?color=cc9900)](https://www.nuget.org/packages/jcdcdev.Umbraco.ExtendedMarkdownEditor/)
77

8-
Get more from the Umbraco Markdown editor. Provides access to the raw Markdown and transformed HTML. Adds data type configuration to control Markdown to HTML settings.
8+
A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.
99

10-
## Quick Start
10+
## Features
11+
12+
### Property Value Converter
13+
14+
Replaces `IHtmlEncodedString` with `MarkdownValue` which contains the following properties
15+
16+
- **Raw** - The raw markdown as a string
17+
- **Html** - The transformed HTML value
18+
- **Markdown** - The Markdig MarkdownDocument
19+
20+
### Data Type
21+
22+
Extends the configuration to allow control over the transformation of Markdown to HTML
1123

12-
## Configuration
24+
- **Header Offset** - The offset to apply to the header levels
25+
- For example: `-1` would transform `# Header 1` to `<h2>Header 1</h2>`
26+
- **External Links** Open In New Tab - Adds `target="_blank"` to external links
27+
28+
### Plug and Play
29+
30+
All existing and future properties using Umbraco.MarkdownEditor will automatically use the new editor.
31+
32+
Removing this package will revert to the default Umbraco.MarkdownEditor, **no data loss will occur**.
33+
34+
## Quick Start
1335

14-
## Extending
36+
```csharp
37+
dotnet add package jcdcdev.Umbraco.ExtendedMarkdownEditor
38+
```
1539

1640
## Contributing
1741

18-
Contributions to this package are most welcome! Please read the [Contributing Guidelines](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/.github/CONTRIBUTING.md).
42+
Contributions to this package are most welcome! Please read
43+
the [Contributing Guidelines](https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor/blob/main/.github/CONTRIBUTING.md).
1944

2045
## Acknowledgments (thanks!)
2146

src/jcdcdev.Umbraco.ExtendedMarkdownEditor/jcdcdev.Umbraco.ExtendedMarkdownEditor.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<ContentTargetFolders>.</ContentTargetFolders>
1010
<Product>jcdcdev.Umbraco.ExtendedMarkdownEditor</Product>
1111
<PackageId>jcdcdev.Umbraco.ExtendedMarkdownEditor</PackageId>
12-
<Title>Extended Umbraco Markdown Editor</Title>
13-
<Description>Get more from the Umbraco Markdown editor. Provides access to the raw Markdown and transformed HTML. Adds data type configuration to control Markdown to HTML settings.</Description>
12+
<Title>Extended Markdown Editor for Umbraco CMS</Title>
13+
<Description>Get more from the Umbraco Markdown editor. A lightweight custom property editor for Umbraco that sits on top of the default Umbraco.MarkdownEditor.</Description>
1414
<PackageTags>umbraco;umbraco-marketplace</PackageTags>
1515
<Authors>jcdcdev</Authors>
1616
<Copyright>$([System.DateTime]::UtcNow.ToString(`yyyy`)) © James Carter</Copyright>
17-
<PackageProjectUrl>https://jcdc.dev/umbraco-packages/markdown-editor</PackageProjectUrl>
17+
<PackageProjectUrl>https://jcdc.dev/umbraco-packages/extended-markdown-editor</PackageProjectUrl>
1818
<RepositoryUrl>https://github.com/jcdcdev/jcdcdev.Umbraco.ExtendedMarkdownEditor</RepositoryUrl>
1919
<PackageReadmeFile>README.md</PackageReadmeFile>
2020
<RepositoryType>git</RepositoryType>

0 commit comments

Comments
 (0)