diff --git a/src/main.js b/src/main.js
index fa93015..3385f54 100644
--- a/src/main.js
+++ b/src/main.js
@@ -2562,7 +2562,23 @@ function performExportWithOptions(format, options) {
// Use pandoc for export with advanced options
- let pandocCmd = `${getPandocPath()} "${currentFile}" -o "${outputFile}"`;
+ let inputFile = currentFile;
+ let tempInputFile = null;
+
+ // Pre-process markdown for Word output so that
+
+# Heading
+`;
+ const output = WordTemplateExporter.preprocessMarkdownForWordExport(input);
+ expect(output).not.toContain('