MarkdownSaveOptions.LinkExportMode

MarkdownSaveOptions LinkExportMode property. Specifies how links will be written to the output file. Default value is Auto.

MarkdownSaveOptions.LinkExportMode property

Specifies how links will be written to the output file. Default value is Auto.

public MarkdownLinkExportMode LinkExportMode { get; set; }

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