Fixed Markdown issues
Infer format from output suffix - when present