Skip to content

Markdown2Pdf.Options.Theme

GitHub Action edited this page May 25, 2024 · 7 revisions

Class Theme

Namespace: Markdown2Pdf.Options
Assembly: Markdown2Pdf.dll

The theme to use for styling the document.

public abstract class Theme

Inheritance

objectTheme

Derived

CustomTheme

Inherited Members

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

Properties

Github

Githubs markdown theme.

public static Theme Github { get; }

Property Value

Theme

Remarks

If the option String) is being used, the npm-package github-markdown-css needs to be installed in the corresponding location.

Latex

Latex like document styling.

public static Theme Latex { get; }

Property Value

Theme

Remarks

If the option String) is being used, the npm-package latex.css needs to be installed in the corresponding location.

None

Don't apply any theme to the document.

public static Theme None { get; }

Property Value

Theme

Methods

Custom(string)

Define your own theme.

public static Theme Custom(string cssPath)

Parameters

cssPath string

Path to the css containing the styles.

Returns

Theme

The generated PredefinedTheme

Clone this wiki locally