MarkdownSaveOptions.ListExportMode
MarkdownSaveOptions ListExportMode property. Specifies how list items will be written to the output file. Default value is MarkdownSyntax.
MarkdownSaveOptions.ListExportMode property
Specifies how list items will be written to the output file. Default value is MarkdownSyntax.
public MarkdownListExportMode ListExportMode { get; set; }
Remarks
When this property is set to PlainText all list labels are updated and exported with their actual values. Such lists can be non-compatible with Markdown format and will be recognized as plain text upon importing in this case.
When this property is set to MarkdownSyntax, writer tries to export list items in manner that allows to numerate list items in automatic mode by Markdown.
Examples
Shows how to configure link, list and office math elements to Markdown.
MarkdownSaveOptions mdSaveOptions = new MarkdownSaveOptions();
mdSaveOptions.LinkExportMode = MarkdownLinkExportMode.Inline;
mdSaveOptions.ListExportMode = MarkdownListExportMode.PlainText;
mdSaveOptions.OfficeMathExportMode = MarkdownOfficeMathExportMode.Latex;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "MarkdownSaveOptions.LinkExportMode.md", mdSaveOptions)
.Execute();
See Also
- enum MarkdownListExportMode
- class MarkdownSaveOptions
- namespace Wordize.Saving
- assembly Wordize