Table of Contents

Method ConvertFileAsync

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

ConvertFileAsync(string, MarkdownToPdfOptions, CancellationToken)

public static Task<Attachment> ConvertFileAsync(string markdownPath, MarkdownToPdfOptions options = null, CancellationToken cancellationToken = default)

Parameters

markdownPath string

Path to the Markdown file.

options MarkdownToPdfOptions

Optional conversion options.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task<Attachment>
Share