GetSupportedFormats

MarkdownConverter.GetSupportedFormats method

Returns the complete list of FileFormat values that can be converted to Markdown. Use this to check at runtime whether a particular format is supported before attempting conversion.

public static IReadOnlyList<FileFormat> GetSupportedFormats()

Return Value

A read-only list of all supported FileFormat values.

Examples

IReadOnlyList<FileFormat> formats = MarkdownConverter.GetSupportedFormats();
foreach (FileFormat fmt in formats)
    Console.WriteLine(fmt);

See Also