# MarkdownPdfStyle

Markdown-aware visual profile used by the first-party Markdown to PDF adapter.

Class 

`OfficeIMO.Markdown.Pdf`

**Namespace**

`OfficeIMO.Markdown.Pdf`

**Assembly**

`OfficeIMO.Markdown.Pdf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[MarkdownPdfStyle.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L51)

**Modifiers**

sealed

Markdown-aware visual profile used by the first-party Markdown to PDF adapter.

## Inheritance

- object
- MarkdownPdfStyle

## Usage

Explore 2 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 2

- Property [MarkdownPdfExportOptions.Style](/api/markdown-pdf/officeimo-markdown-pdf-markdownpdfexportoptions/#property-style)
- Method [MarkdownPdfStyle.Clone](/api/markdown-pdf/officeimo-markdown-pdf-markdownpdfstyle/#method-clone)

Filter members 

Show inherited

## Constructors

`public MarkdownPdfStyle()` [#](#constructor-ctor)

[MarkdownPdfStyle.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L51)

## Methods

`public MarkdownPdfStyle Clone()` [#](#method-clone)

[MarkdownPdfStyle.cs:552](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L552)

Creates a copy of this visual theme.

Returns

`MarkdownPdfStyle`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; set; }` [#](#property-name)

[MarkdownPdfStyle.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L51)

Name of the profile for diagnostics and documentation.

`public PdfTheme? DocumentTheme { get; set; }` [#](#property-documenttheme)

[MarkdownPdfStyle.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L55)

Document-level PDF theme applied before Markdown blocks are rendered.

`public PdfPanelStyle? CodeBlockPanelStyle { get; set; }` [#](#property-codeblockpanelstyle)

[MarkdownPdfStyle.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L61)

Panel style used for fenced code blocks.

`public PdfPanelStyle? SemanticBlockPanelStyle { get; set; }` [#](#property-semanticblockpanelstyle)

[MarkdownPdfStyle.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L67)

Panel style used for semantic fenced blocks such as diagrams or data blocks.

`public PdfPanelStyle? QuotePanelStyle { get; set; }` [#](#property-quotepanelstyle)

[MarkdownPdfStyle.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L73)

Panel style used for block quotes.

`public PdfPanelStyle? CalloutPanelStyle { get; set; }` [#](#property-calloutpanelstyle)

[MarkdownPdfStyle.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L79)

Base panel style used for callouts. The callout kind still controls the border color.

`public PdfPanelStyle? DetailsPanelStyle { get; set; }` [#](#property-detailspanelstyle)

[MarkdownPdfStyle.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L85)

Panel style used for details/summary blocks.

`public PdfPanelStyle? TocPanelStyle { get; set; }` [#](#property-tocpanelstyle)

[MarkdownPdfStyle.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L91)

Panel style used for generated Markdown table-of-contents blocks.

`public PdfTableStyle? TableStyle { get; set; }` [#](#property-tablestyle)

[MarkdownPdfStyle.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L97)

Table style used for Markdown pipe tables.

`public PdfTableStyle? ChecklistTableStyle { get; set; }` [#](#property-checklisttablestyle)

[MarkdownPdfStyle.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L103)

Table style used for task-list checklists.

`public PdfTableStyle? DefinitionListTableStyle { get; set; }` [#](#property-definitionlisttablestyle)

[MarkdownPdfStyle.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L109)

Table style used for definition lists.

`public PdfTableStyle? FrontMatterTableStyle { get; set; }` [#](#property-frontmattertablestyle)

[MarkdownPdfStyle.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L115)

Table style used when front matter is rendered into the PDF body.

`public OfficeLength? CodeBlockFontSize { get; set; }` [#](#property-codeblockfontsize)

[MarkdownPdfStyle.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L121)

Font size for fenced code block content.

`public OfficeLength? CodeBlockLabelFontSize { get; set; }` [#](#property-codeblocklabelfontsize)

[MarkdownPdfStyle.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L127)

Font size for the optional fenced code language label.

`public OfficeColor? CodeBlockTextColor { get; set; }` [#](#property-codeblocktextcolor)

[MarkdownPdfStyle.cs:133](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L133)

Text color for fenced code block content.

`public OfficeColor? CodeBlockLabelColor { get; set; }` [#](#property-codeblocklabelcolor)

[MarkdownPdfStyle.cs:139](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L139)

Text color for the optional fenced code language label.

`public OfficeLength? SemanticBlockFontSize { get; set; }` [#](#property-semanticblockfontsize)

[MarkdownPdfStyle.cs:145](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L145)

Font size for semantic fenced block content.

`public OfficeLength? SemanticBlockLabelFontSize { get; set; }` [#](#property-semanticblocklabelfontsize)

[MarkdownPdfStyle.cs:151](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L151)

Font size for semantic fenced block labels.

`public OfficeColor? SemanticBlockTextColor { get; set; }` [#](#property-semanticblocktextcolor)

[MarkdownPdfStyle.cs:157](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L157)

Text color for semantic fenced block content.

`public OfficeColor? SemanticBlockLabelColor { get; set; }` [#](#property-semanticblocklabelcolor)

[MarkdownPdfStyle.cs:163](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L163)

Text color for semantic fenced block labels.

`public OfficeColor? ChecklistCheckedIconColor { get; set; }` [#](#property-checklistcheckediconcolor)

[MarkdownPdfStyle.cs:169](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L169)

Icon color used for checked Markdown task-list items.

`public OfficeColor? ChecklistUncheckedIconColor { get; set; }` [#](#property-checklistuncheckediconcolor)

[MarkdownPdfStyle.cs:175](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L175)

Icon color used for unchecked Markdown task-list items.

`public OfficeColor? ChecklistCheckedTextColor { get; set; }` [#](#property-checklistcheckedtextcolor)

[MarkdownPdfStyle.cs:181](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L181)

Text color used for checked Markdown task-list items.

`public OfficeColor? ChecklistUncheckedTextColor { get; set; }` [#](#property-checklistuncheckedtextcolor)

[MarkdownPdfStyle.cs:187](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L187)

Text color used for unchecked Markdown task-list items.

`public OfficeColor? ChecklistCheckedFillColor { get; set; }` [#](#property-checklistcheckedfillcolor)

[MarkdownPdfStyle.cs:193](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L193)

Optional row fill used for checked Markdown task-list items.

`public OfficeColor? ChecklistUncheckedFillColor { get; set; }` [#](#property-checklistuncheckedfillcolor)

[MarkdownPdfStyle.cs:199](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L199)

Optional row fill used for unchecked Markdown task-list items.

`public OfficeLength? DocumentHeaderTitleFontSize { get; set; }` [#](#property-documentheadertitlefontsize)

[MarkdownPdfStyle.cs:205](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L205)

Font size used for front matter title blocks.

`public OfficeLength? DocumentHeaderSubtitleFontSize { get; set; }` [#](#property-documentheadersubtitlefontsize)

[MarkdownPdfStyle.cs:211](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L211)

Font size used for front matter subtitles or descriptions.

`public OfficeLength? DocumentHeaderMetadataFontSize { get; set; }` [#](#property-documentheadermetadatafontsize)

[MarkdownPdfStyle.cs:217](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L217)

Font size used for front matter author/date/tags metadata lines.

`public OfficeColor? DocumentHeaderTitleColor { get; set; }` [#](#property-documentheadertitlecolor)

[MarkdownPdfStyle.cs:223](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L223)

Text color used for front matter title blocks.

`public OfficeColor? DocumentHeaderSubtitleColor { get; set; }` [#](#property-documentheadersubtitlecolor)

[MarkdownPdfStyle.cs:229](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L229)

Text color used for front matter subtitles or descriptions.

`public OfficeColor? DocumentHeaderMetadataColor { get; set; }` [#](#property-documentheadermetadatacolor)

[MarkdownPdfStyle.cs:235](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L235)

Text color used for front matter author/date/tags metadata lines.

`public OfficeColor? DocumentHeaderRuleColor { get; set; }` [#](#property-documentheaderrulecolor)

[MarkdownPdfStyle.cs:241](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L241)

Rule color used below rendered front matter document headers.

`public OfficeColor? TocTitleColor { get; set; }` [#](#property-toctitlecolor)

[MarkdownPdfStyle.cs:247](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L247)

Title color used by generated Markdown table-of-contents blocks.

`public OfficeColor? TocLinkColor { get; set; }` [#](#property-toclinkcolor)

[MarkdownPdfStyle.cs:253](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L253)

Link color used by generated Markdown table-of-contents entries.

`public OfficeColor? TocTextColor { get; set; }` [#](#property-toctextcolor)

[MarkdownPdfStyle.cs:259](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L259)

Marker and secondary text color used by generated Markdown table-of-contents blocks.

`public OfficeColor? LinkColor { get; set; }` [#](#property-linkcolor)

[MarkdownPdfStyle.cs:265](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L265)

Text color used for ordinary Markdown links in paragraphs, lists, tables, panels, and definitions.

`public bool? UnderlineLinks { get; set; }` [#](#property-underlinelinks)

[MarkdownPdfStyle.cs:271](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L271)

Whether ordinary Markdown links should be underlined.

`public MarkdownPdfPageDecoration? PageDecoration { get; set; }` [#](#property-pagedecoration)

[MarkdownPdfStyle.cs:277](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L277)

Optional page-level decoration profile applied through the shared PDF engine.

`public MarkdownPdfFigureStyle? FigureStyle { get; set; }` [#](#property-figurestyle)

[MarkdownPdfStyle.cs:283](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Markdown.Pdf/MarkdownPdfStyle.cs#L283)

Figure styling used for Markdown images and generated visual blocks.

<!-- PowerForge markdown artifact sha256:F4A7EAB9081FD0E687753CFBD40C69582118D69A92ECBBDFFD5CC347148FB26C -->
