Skip to content

Markdown2Pdf.Services.InlineOptionsParser

GitHub Action edited this page May 25, 2024 · 1 revision

Class InlineOptionsParser

Namespace: Markdown2Pdf.Services
Assembly: Markdown2Pdf.dll

Parser for YAML front matter blocks within markdown files.

public class InlineOptionsParser

Inheritance

objectInlineOptionsParser

Inherited Members

object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()

Methods

ParseYamlFrontMatter(string)

Parses the YAML front matter block at the beginning of the given markdown file.

public static Markdown2PdfOptions ParseYamlFrontMatter(string markdownFilePath)

Parameters

markdownFilePath string

The path to the markdown file.

Returns

Markdown2PdfOptions

The parsed Markdown2PdfOptions from the markdown file.

Exceptions

Exception

Clone this wiki locally