if pandoc is not available then use markdown