change pandocCompiler with getResourceBody