// add a page break

import { CreateDocx } from "../../../build";
import * as fs from "fs";

const docx = new CreateDocx();

docx.addText("New content.");

docx.addBreak("page");

docx.addText("Content in a new page.");

docx.save().then(contents => {
    fs.writeFileSync("addBreak_2.docx", Buffer.from(contents));
});
