From a7fb6aede9d5c00bdcb557ab55a395fade2c56f2 Mon Sep 17 00:00:00 2001 From: "Tosic.Killer" <56911974+Retrokiller543@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:32:12 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index ef5318d..332879f 100644 --- a/README.md +++ b/README.md @@ -72,32 +72,32 @@ new PrismExtensionOptions | Supported | Plugin Name | Usage Guide | | ----------- | --------- | ----------- | -| - [ ] | Line Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/LineHighlightUsage.md) | -| - [x] | Line Numbers | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/LineNumbersUsage.md) | -| - [ ] | Show Invisibles | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/ShowInvisiblesUsage.md) | -| - [ ] | Autolinker | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/AutolinkerUsage.md) | -| - [ ] | WebPlatform Docs | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/WebPlatformDocsUsage.md) | -| - [ ] | Custom Class | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/CustomClassUsage.md) | -| - [ ] | File Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/FileHighlightUsage.md) | -| - [ ] | Show Language | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/ShowLanguageUsage.md) | -| - [ ] | JSONP Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/JSONPHighlightUsage.md) | -| - [ ] | Highlight Keywords | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/HighlightKeywordsUsage.md) | -| - [ ] | Remove initial line feed | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/RemoveInitialLineFeedUsage.md) | -| - [ ] | Inline color | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/InlineColorUsage.md) | -| - [ ] | Previewers | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/PreviewersUsage.md) | -| - [ ] | Autoloader | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/AutoloaderUsage.md) | -| - [ ] | Keep Markup | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/KeepMarkupUsage.md) | -| - [ ] | Command Line | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/CommandLineUsage.md) | -| - [ ] | Unescaped Markup | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/UnescapedMarkupUsage.md) | -| - [ ] | Normalize Whitespace | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/NormalizeWhitespaceUsage.md) | -| - [ ] | Data-URI Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/DataURIHighlightUsage.md) | -| - [x] | Toolbar | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/ToolbarUsage.md) | -| - [x] | Copy to Clipboard Button | [Guide](./CopyToClipboardButtonUsage.md) | -| - [x] | Download Button | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/DownloadButtonUsage.md) | -| - [ ] | Match braces | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/MatchBracesUsage.md) | -| - [ ] | Diff Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/DiffHighlightUsage.md) | -| - [ ] | Filter highlightAll | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/FilterHighlightAllUsage.md) | -| - [ ] | Treeview | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/TreeviewUsage.md) | +| ❌ | Line Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/LineHighlightUsage.md) | +| ✅ | Line Numbers | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/LineNumbersUsage.md) | +| ❌ | Show Invisibles | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/ShowInvisiblesUsage.md) | +| ❌ | Autolinker | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/AutolinkerUsage.md) | +| ❌ | WebPlatform Docs | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/WebPlatformDocsUsage.md) | +| ❌ | Custom Class | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/CustomClassUsage.md) | +| ❌ | File Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/FileHighlightUsage.md) | +| ❌ | Show Language | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/ShowLanguageUsage.md) | +| ❌ | JSONP Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/JSONPHighlightUsage.md) | +| ❌ | Highlight Keywords | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/HighlightKeywordsUsage.md) | +| ❌ | Remove initial line feed | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/RemoveInitialLineFeedUsage.md) | +| ❌ | Inline color | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/InlineColorUsage.md) | +| ❌ | Previewers | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/PreviewersUsage.md) | +| ❌ | Autoloader | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/AutoloaderUsage.md) | +| ❌ | Keep Markup | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/KeepMarkupUsage.md) | +| ❌ | Command Line | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/CommandLineUsage.md) | +| ❌ | Unescaped Markup | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/UnescapedMarkupUsage.md) | +| ❌ | Normalize Whitespace | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/NormalizeWhitespaceUsage.md) | +| ❌ | Data-URI Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/DataURIHighlightUsage.md) | +| ✅ | Toolbar | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/ToolbarUsage.md) | +| ✅ | Copy to Clipboard Button | [Guide](./CopyToClipboardButtonUsage.md) | +| ✅ | Download Button | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/DownloadButtonUsage.md) | +| ❌ | Match braces | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/MatchBracesUsage.md) | +| ❌ | Diff Highlight | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/DiffHighlightUsage.md) | +| ❌ | Filter highlightAll | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/FilterHighlightAllUsage.md) | +| ❌ | Treeview | [Guide](https://github.com/Retrokiller543/Markdig.Prism/blob/main/docs/TreeviewUsage.md) | ## Credits From 197e8bd8daebd27dac683520f6f48c99fba6ed4a Mon Sep 17 00:00:00 2001 From: "Tosic.Killer" <56911974+Retrokiller543@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:34:44 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 332879f..626ced5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This forked version includes additional features such as a download button for c 1. Add this forked version of `Markdig.Prism` to your project. ```powershell -dotnet add package YourPackageName --version 1.0.0 +dotnet add package WebStoating.Markdig.PrismWithPlugins --version 1.0.0 ``` 2. Create Markdig pipeline @@ -21,7 +21,7 @@ private static readonly MarkdownPipeline MarkdownPipeline = new MarkdownPipeline .Build(); ``` -3. Download [Prism](https://prismjs.com/download.html) and add it to your Razor page or layout template. Make sure to include the additional JavaScript required for the new features. +3. Download [Prism](https://prismjs.com/download.html) and add it to your Razor page or layout template. Make sure to include the additional JavaScript required for the plugins. ```html @@ -33,6 +33,7 @@ private static readonly MarkdownPipeline MarkdownPipeline = new MarkdownPipeline ... +