MarkdownLoadOptions.SoftLineBreakCharacter
MarkdownLoadOptions SoftLineBreakCharacter property. Gets or sets a character value representing soft line break. The default value is SPACE U0020.
MarkdownLoadOptions.SoftLineBreakCharacter property
Gets or sets a character value representing soft line break
. The default value is SPACE (U+0020)
.
public char SoftLineBreakCharacter { get; set; }
Remarks
Note, setting this option to \v
allows you to load soft line breaks as hard line breaks.
Examples
Shows how to set soft line break character.
MarkdownLoadOptions mdLoadOptions = new MarkdownLoadOptions();
mdLoadOptions.SoftLineBreakCharacter = '\v';
Converter.Create()
.From(MyDir + "Simple.md", mdLoadOptions)
.To(ArtifactsDir + "MarkdownLoadOptions.SoftLineBreakCharacter.docx")
.Execute();
See Also
- class MarkdownLoadOptions
- namespace Wordize.Loading
- assembly Wordize