By default, GroupDocs.Markdown detects the file format automatically from the file extension or stream content. When you want to skip auto-detection or the file extension is missing, specify the format explicitly using LoadOptions.
importcom.groupdocs.markdown.*;publicclassLoadSpecificFormat{publicstaticvoidmain(String[]args){// Explicitly specify the format to skip auto-detection
LoadOptionsloadOptions=newLoadOptions(FileFormat.XLSX);try(MarkdownConverterconverter=newMarkdownConverter("cost-analysis.xlsx",loadOptions)){converter.convert("load-specific-format.md");}}}
cost-analysis.xlsx is a sample file used in this example. Click here to download it.