MarkdownListExportMode enumeration

MarkdownListExportMode enumeration

Specifies how lists are exported into Markdown.

Members

NameDescription
MARKDOWN_SYNTAXExport list items compatible with Markdown syntax.
PLAIN_TEXTExport list items as plain text.

Examples

Shows how to list items will be written to the markdown document.

doc = aw.Document(file_name=MY_DIR + 'List item.docx')
# Use MarkdownListExportMode.PlainText or MarkdownListExportMode.MarkdownSyntax to export list.
options = aw.saving.MarkdownSaveOptions()
options.list_export_mode = markdown_list_export_mode
doc.save(file_name=ARTIFACTS_DIR + 'MarkdownSaveOptions.ListExportMode.md', save_options=options)

See Also