diff --git a/index.js b/index.js index c1395b3..4f58a19 100644 --- a/index.js +++ b/index.js @@ -226,7 +226,9 @@ function Dump(filePath) { }); } - fs.writeFileSync(p, markdown); + let final = markdown.replace(/^[ \t]+/gm, ""); + + fs.writeFileSync(p, final); } // Dump(path.join(__dirname, "Bastion.lua"));