Class MarkdownLoadOptions
Namespace: Aspose.Words.Loading
Assembly: Aspose.Words.dll (25.8.0)
Allows to specify additional options when loading Aspose.Words.LoadFormat.Markdown document into a Aspose.Words.Document object.
public class MarkdownLoadOptions : LoadOptionsInheritance
object ← LoadOptions ← MarkdownLoadOptions
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
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
SoftLineBreakCharacter
Gets or sets a character value representing soft line break.
The default value is SPACE (U+0020).
public char SoftLineBreakCharacter { get; set; }Property Value
Remarks
Note, setting this option to Aspose.Words.ControlChar.LineBreakChar allows you to load soft line breaks as hard line breaks.