Table of Contents

Method ConvertToFileAsync

Namespace
LMKit.Document.Conversion
Assembly
LM-Kit.NET.dll

ConvertToFileAsync(string, string, MarkdownToPdfOptions, CancellationToken)

public static Task ConvertToFileAsync(string markdown, string outputPath, MarkdownToPdfOptions options = null, CancellationToken cancellationToken = default)

Parameters

markdown string

The Markdown content to convert.

outputPath string

Path where the output PDF will be written.

options MarkdownToPdfOptions

Optional conversion options.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task
Share