TagHelperSamples.Markdown

A Tag Helper that dynamically converts Markdown to HTML. Allows you to write Markdown in your razor pages.


Keywords
AspNetCore, MVC, Core, Tag, Helper, Markdown, taghelpers
License
Other
Install
Install-Package TagHelperSamples.Markdown -Version 2.0.49

Documentation

AppVeyor: Build status

Tag-helper-samples

TagHelper Samples running on Azure. Sample tag helpers that do useful work.

To use the Bootstrap AlertTagHelper (authored by Rick Strahl) add Font Awesome. The sample project adds FA to the Views\Shared_Layout.cshtml file.

Click the Summary menu item to see the tag helpers in action. From the home link, select a tag helper to see a code snipet and the resulting UI.

Try it in your project

Bootstrap Tag Helpers

The Bootstrap Tag Helper samples are available on Nuget.

dotnet add package TagHelperSamples.Bootstrap

Then add the tag helpers to your _ViewImports.cshtml file:

@addTagHelper "*, TagHelperSamples.Bootstrap"

Markdown Tag Helpers

The Markdown Tag Helper samples are available on Nuget.

dotnet add package TagHelperSamples.Markdown

Then add the tag helpers to your _ViewImports.cshtml file:

@addTagHelper "*, TagHelperSamples.Markdown"

Authorize Tag Helper

The Authorize Tag Helper is available on Nuget.

dotnet add package TagHelperSamples.Authorization

Then add the tag helpers to your _ViewImports.cshtml file:

@addTagHelper "*, TagHelperSamples.Authorization"