imagesFolderAlias property

MarkdownSaveOptions.imagesFolderAlias property

Specifies the name of the folder used to construct image URIs written into a document. Default is an empty string.

get imagesFolderAlias(): string

Remarks

When you save a Document in SaveFormat.Markdown format, Aspose.Words needs to save all images embedded in the document as standalone files. MarkdownSaveOptions.imagesFolder allows you to specify where the images will be saved and MarkdownSaveOptions.imagesFolderAlias allows to specify how the image URIs will be constructed.

If MarkdownSaveOptions.imagesFolderAlias is not an empty string, then the image URI written to Markdown will be ImagesFolderAlias + <image file name>.

If MarkdownSaveOptions.imagesFolderAlias is an empty string, then the image URI written to Markdown will be ImagesFolder + <image file name>.

If MarkdownSaveOptions.imagesFolderAlias is set to ‘.’ (dot), then the image file name will be written to Markdown without path regardless of other options.

See Also