Table of Contents

Method ConvertFileToFileAsync

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

ConvertFileToFileAsync(string, string, MarkdownToPdfOptions, CancellationToken)

public static Task ConvertFileToFileAsync(string markdownPath, string outputPath, MarkdownToPdfOptions options = null, CancellationToken cancellationToken = default)

Parameters

markdownPath string

Path to the Markdown file.

outputPath string

Path where the output PDF will be written.

options MarkdownToPdfOptions

Optional conversion options.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task
Share