Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownPrismOptions

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Options for Prism.js syntax highlighting.

Inheritance

  • object
  • MarkdownPrismOptions

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public MarkdownPrismOptions() #

Properties

public bool Enabled { get; set; } #

Enable Prism highlighting. Default: false.

public MarkdownPrismTheme Theme { get; set; } #

Theme stylesheet. Default: MarkdownPrismTheme.Prism. Use MarkdownPrismTheme.GithubAuto to pair with GithubAuto markdown style.

public List<string> Languages { get; } #

Language ids to include. If empty, a small default set is used.

public List<string> Plugins { get; } #

Plugin ids to include (e.g., "line-numbers", "copy-to-clipboard").

public string CdnBase { get; set; } #

CDN base URL. Default: jsDelivr.