Eliassen.Markdig 0.1.84

This package has a SemVer 2.0.0 package version: 0.1.84+9.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Eliassen.Markdig --version 0.1.84                
NuGet\Install-Package Eliassen.Markdig -Version 0.1.84                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eliassen.Markdig" Version="0.1.84" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eliassen.Markdig --version 0.1.84                
#r "nuget: Eliassen.Markdig, 0.1.84"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Eliassen.Markdig as a Cake Addin
#addin nuget:?package=Eliassen.Markdig&version=0.1.84

// Install Eliassen.Markdig as a Cake Tool
#tool nuget:?package=Eliassen.Markdig&version=0.1.84                

Eliassen.Markdig

MarkdownToHtmlConversionHandler

Converts Markdown documents to HTML format.

Properties

  • Destinations: Gets the supported content types for the destination stream.
  • Sources: Gets the supported content types for the source stream.

Methods

Constructor

Initializes a new instance of MarkdownToHtmlConversionHandler.

Parameters
  • pipeline: (optional) The pipeline to use for conversion.
ConvertAsync(System.IO.Stream,System.String,System.IO.Stream,System.String)

Converts Markdown content from the source stream to HTML format and writes it to the destination stream asynchronously.

Parameters
  • source: The source stream containing the Markdown content.
  • sourceContentType: The content type of the source stream.
  • destination: The destination stream where the HTML content will be written.
  • destinationContentType: The content type of the destination stream.
Return value

A task representing the asynchronous conversion operation.

Exceptions
  • System.NotSupportedException: Thrown when either the source or destination content type is not supported.
SupportedDestination(System.String)

Checks if the specified content type is supported for the destination stream.

Parameters
  • contentType: The content type to check.
Return value

True if the content type is supported; otherwise, false.

SupportedSource(System.String)

Checks if the specified content type is supported for the source stream.

Parameters
  • contentType: The content type to check.
Return value

True if the content type is supported; otherwise, false.

ServiceCollectionExtensions

Provides extension methods for configuring services related to Markdig.

Methods

TryAddMarkdigServices(Microsoft.Extensions.DependencyInjection.IServiceCollection)

Configures services for Markdig.

Parameters
  • services: The service collection to add the services to.
Return value

The modified service collection.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Eliassen.Markdig:

Package Downloads
Eliassen.Common.Extensions

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.85 46 10/10/2024
0.1.84 41 10/10/2024
0.1.83 47 9/27/2024
0.1.82 139 8/23/2024
0.1.81 112 8/1/2024
0.1.81-dev-gh-pipline.3 50 8/1/2024