Preparing compileMarkdown and compileMarkdownFile.