Class MarkdownConverterOptions
Represents the configuration options for Markdown to HTML conversion.
Inherited Members
Namespace: Syncfusion.Blazor.MarkdownConverter
Assembly: Syncfusion.Blazor.dll
Syntax
public class MarkdownConverterOptions
Remarks
Options control parsing behavior, GFM extensions, line break handling, and error suppression. Invalid or conflicting combinations are handled gracefully (undefined behavior logged in debug mode).
Constructors
MarkdownConverterOptions()
Declaration
public MarkdownConverterOptions()
Properties
Gfm
Gets or sets a value indicating whether GitHub Flavored Markdown (GFM) features are enabled.
Declaration
public bool Gfm { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool representing whether tables, task lists, strikethrough, and enhanced autolinks are supported. Default is true. |
LineBreak
Gets or sets a value indicating whether single line breaks are converted to HTML line breaks.
Declaration
public bool LineBreak { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool representing whether single newlines become |
Silent
Gets or sets a value indicating whether parsing exceptions should be suppressed.
Declaration
public bool Silent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool representing whether malformed Markdown produces partial output instead of throwing. Default is false. When true, best-effort HTML is returned and errors are logged (debug mode only). |