New to Telerik Document ProcessingStart a free 30-day trial

Controls how a RadFlowDocument is exported to Markdown.

Definition

Namespace:Telerik.Windows.Documents.Flow.FormatProviders.Md

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class MarkdownExportSettings

Inheritance: objectMarkdownExportSettings

Constructors

C#
public MarkdownExportSettings()

Properties

Gets or sets the code fence character. Default is Backtick.

C#
public CodeFenceExportStyle CodeFenceStyle { get; set; }

Gets or sets the encoding used when writing the Markdown stream. Defaults to UTF-8 without BOM.

C#
public Encoding Encoding { get; set; }
Exceptions:

ArgumentNullException

Thrown when set to null.

Gets or sets the heading syntax style. Default is Atx.

C#
public HeadingExportStyle HeadingStyle { get; set; }

Gets or sets how images are exported. Default is Inline.

C#
public ImageExportMode ImageExport { get; set; }

Gets the set of font family names that are treated as monospace (code) fonts during export. Runs using one of these fonts are exported as inline code spans (text). The set is pre-seeded with common monospace fonts and is case-insensitive.

C#
public ISet<string> MonospaceFontNames { get; }
Remarks:

Do not modify this set while an export is in progress.

Gets or sets how tables are exported. Default is GfmPipe.

C#
public TableExportMode TableExport { get; set; }

Gets the list of non-fatal warnings generated during the last export operation. This list is cleared and repopulated each time MarkdownFormatProvider exports a document.

C#
public IList<string> Warnings { get; }
Remarks:

Do not modify this list while an export is in progress.