Class MarkdownLoadOptions

Class MarkdownLoadOptions

Namespace: Aspose.Words.Loading
Assembly: Aspose.Words.dll (25.3.0)

Allows to specify additional options when loading Aspose.Words.LoadFormat.Markdown document into a Aspose.Words.Document object.

public class MarkdownLoadOptions : LoadOptions

Inheritance

objectLoadOptionsMarkdownLoadOptions

Inherited Members

LoadOptions.Equals(object), LoadOptions.LoadFormat, LoadOptions.Password, LoadOptions.BaseUri, LoadOptions.Encoding, LoadOptions.ResourceLoadingCallback, LoadOptions.WarningCallback, LoadOptions.ProgressCallback, LoadOptions.PreserveIncludePictureField, LoadOptions.ConvertShapeToOfficeMath, LoadOptions.FontSettings, LoadOptions.TempFolder, LoadOptions.ConvertMetafilesToPng, LoadOptions.MswVersion, LoadOptions.UpdateDirtyFields, LoadOptions.IgnoreOleData, LoadOptions.UseSystemLcid, LoadOptions.LanguagePreferences, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

MarkdownLoadOptions()

Initializes a new instance of Aspose.Words.Loading.MarkdownLoadOptions class.

public MarkdownLoadOptions()

Remarks

Automatically sets Aspose.Words.LoadFormat to Aspose.Words.LoadFormat.Markdown.

Properties

ImportUnderlineFormatting

Gets or sets a boolean value indicating either to recognize a sequence of two plus characters “++” as underline text formatting. The default value is false.

public bool ImportUnderlineFormatting { get; set; }

Property Value

bool

PreserveEmptyLines

Gets or sets a boolean value indicating whether to preserve empty lines while load a Aspose.Words.LoadFormat.Markdown document. The default value is false.

Normally, empty lines between block-level elements in Markdown are ignored. Empty lines at the beginning and end of the document are also ignored. This option allows to import such empty lines.

public bool PreserveEmptyLines { get; set; }

Property Value

bool