export_underline_formatting property

MarkdownSaveOptions.export_underline_formatting property

Gets or sets a boolean value indicating either to export underline text formatting as sequence of two plus characters “++”. The default value is False.

@property
def export_underline_formatting(self) -> bool:
    ...

@export_underline_formatting.setter
def export_underline_formatting(self, value: bool):
    ...

Examples

Shows how to export underline formatting as ++.

doc = aw.Document()
builder = aw.DocumentBuilder(doc=doc)
builder.underline = aw.Underline.SINGLE
builder.write('Lorem ipsum. Dolor sit amet.')
save_options = aw.saving.MarkdownSaveOptions()
save_options.export_underline_formatting = True
doc.save(file_name=ARTIFACTS_DIR + 'MarkdownSaveOptions.ExportUnderlineFormatting.md', save_options=save_options)

See Also