Skip to content

Commit

Permalink
Deploying to gh-pages from @ 269d1ad 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
wbaldoumas committed Nov 16, 2023
1 parent 7e382fc commit c21cf11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ <h3 id="after">After</h3>
</code></pre>
<h2 id="installation">Installation</h2>
<h3 id="package-manager">Package Manager</h3>
<pre><code class="lang-text">Install-Package Markdown.ColorCode -Version 2.0.0
<pre><code class="lang-text">Install-Package Markdown.ColorCode -Version 2.1.0
</code></pre>
<h3 id="net-cli">.NET CLI</h3>
<pre><code class="lang-text">dotnet add package Markdown.ColorCode --version 2.0.0
<pre><code class="lang-text">dotnet add package Markdown.ColorCode --version 2.1.0
</code></pre>
<h2 id="usage">Usage</h2>
<p>To use this extension with <a href="https://github.com/xoofx/markdig">Markdig</a>, simply install the <code>Markdown.ColorCode</code> package use the ColorCode extension:</p>
Expand Down
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"index.html": {
"href": "index.html",
"title": "Markdown.ColorCode | Markdown.ColorCode",
"keywords": "Markdown.ColorCode About The Project An extension for Markdig that adds syntax highlighting to code through the power of ColorCode . Demonstration Before using Foo.Bar.Baz; namespace Foo.Api; public interface FooService { /// <summary> /// Gets a new Foo! /// </summary> /// <returns>A new Foo</returns> public void GetFoo() { return new Foo(); } } After using Foo.Bar.Baz; namespace Foo.Api; public interface FooService { /// <summary> /// Gets a new Foo! /// </summary> /// <returns>A new Foo</returns> public void GetFoo() { return new Foo(); } } Installation Package Manager Install-Package Markdown.ColorCode -Version 2.0.0 .NET CLI dotnet add package Markdown.ColorCode --version 2.0.0 Usage To use this extension with Markdig , simply install the Markdown.ColorCode package use the ColorCode extension: var pipeline = new MarkdownPipelineBuilder() .UseAdvancedExtensions() .UseColorCode() .Build(); var colorizedHtml = Markdig.Markdown.ToHtml(someMarkdown, pipeline); Several optional configuration options are also at your disposal: var pipeline = new MarkdownPipelineBuilder() .UseAdvancedExtensions() .UseColorCode( HtmlFormatterType.Style, // use style-based colorization (default) myCustomStyleDictionary, // use a custom colorization style dictionary myAdditionalLanguages, // augment the built-in language support myCustomLanguageId // set a default language ID to fall back to ) .Build(); var colorizedHtml = Markdig.Markdown.ToHtml(someMarkdown, pipeline); Roadmap See the open issues for a list of proposed features (and known issues). Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated . For detailed contributing guidelines, please see CONTRIBUTING.md . License Distributed under the MIT License License. See LICENSE for more information. Contact @wbaldoumas Project Link: https://github.com/wbaldoumas/markdown-colorcode Acknowledgements This README was adapted from https://github.com/othneildrew/Best-README-Template . <!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->"
"keywords": "Markdown.ColorCode About The Project An extension for Markdig that adds syntax highlighting to code through the power of ColorCode . Demonstration Before using Foo.Bar.Baz; namespace Foo.Api; public interface FooService { /// <summary> /// Gets a new Foo! /// </summary> /// <returns>A new Foo</returns> public void GetFoo() { return new Foo(); } } After using Foo.Bar.Baz; namespace Foo.Api; public interface FooService { /// <summary> /// Gets a new Foo! /// </summary> /// <returns>A new Foo</returns> public void GetFoo() { return new Foo(); } } Installation Package Manager Install-Package Markdown.ColorCode -Version 2.1.0 .NET CLI dotnet add package Markdown.ColorCode --version 2.1.0 Usage To use this extension with Markdig , simply install the Markdown.ColorCode package use the ColorCode extension: var pipeline = new MarkdownPipelineBuilder() .UseAdvancedExtensions() .UseColorCode() .Build(); var colorizedHtml = Markdig.Markdown.ToHtml(someMarkdown, pipeline); Several optional configuration options are also at your disposal: var pipeline = new MarkdownPipelineBuilder() .UseAdvancedExtensions() .UseColorCode( HtmlFormatterType.Style, // use style-based colorization (default) myCustomStyleDictionary, // use a custom colorization style dictionary myAdditionalLanguages, // augment the built-in language support myCustomLanguageId // set a default language ID to fall back to ) .Build(); var colorizedHtml = Markdig.Markdown.ToHtml(someMarkdown, pipeline); Roadmap See the open issues for a list of proposed features (and known issues). Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated . For detailed contributing guidelines, please see CONTRIBUTING.md . License Distributed under the MIT License License. See LICENSE for more information. Contact @wbaldoumas Project Link: https://github.com/wbaldoumas/markdown-colorcode Acknowledgements This README was adapted from https://github.com/othneildrew/Best-README-Template . <!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->"
}
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"output": {
".html": {
"relative_path": "index.html",
"hash": "KC93DxpuX6+sytbX7+kycA=="
"hash": "TslH8geNTJHJZmAFluMMRA=="
}
},
"is_incremental": false,
Expand Down

0 comments on commit c21cf11

Please sign in to comment.