Eliassen.Markdig 0.1.85

This package has a SemVer 2.0.0 package version: 0.1.85+2.
dotnet add package Eliassen.Markdig --version 0.1.85
                    
NuGet\Install-Package Eliassen.Markdig -Version 0.1.85
                    
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.85" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eliassen.Markdig" Version="0.1.85" />
                    
Directory.Packages.props
<PackageReference Include="Eliassen.Markdig" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Eliassen.Markdig --version 0.1.85
                    
#r "nuget: Eliassen.Markdig, 0.1.85"
                    
#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.
#:package Eliassen.Markdig@0.1.85
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Eliassen.Markdig&version=0.1.85
                    
Install as a Cake Addin
#tool nuget:?package=Eliassen.Markdig&version=0.1.85
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 77 10/10/2024
0.1.84 55 10/10/2024
0.1.83 63 9/27/2024
0.1.82 167 8/23/2024
0.1.81 139 8/1/2024
0.1.81-dev-gh-pipline.3 75 8/1/2024