MarkdownExportAsHtml Enum

Wordize.Saving.MarkdownExportAsHtml enum. Allows to specify the elements to be exported to Markdown as raw HTML.

MarkdownExportAsHtml enumeration

Allows to specify the elements to be exported to Markdown as raw HTML.

[Flags]
public enum MarkdownExportAsHtml

Values

NameValueDescription
None0Export all elements using Markdown syntax without any raw HTML.
Tables1Export tables as raw HTML.
NonCompatibleTables2Export tables that cannot be correctly represented in pure Markdown as raw HTML.

Examples

Shows how to allow exporting particular elements to Markdown as HTML.

MarkdownSaveOptions mdSaveOptions = new MarkdownSaveOptions();
mdSaveOptions.ExportAsHtml = MarkdownExportAsHtml.Tables;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "MarkdownSaveOptions.ExportAsHtml.md", mdSaveOptions)
    .Execute();

See Also