feat: Bulk HTML export for collection

This commit is contained in:
Tom Moor
2022-12-30 20:13:29 -05:00
parent 1328162921
commit 7a1e6a1b73
10 changed files with 74 additions and 101 deletions

View File

@@ -52,7 +52,7 @@ async function addDocumentTreeToArchive(
let text =
format === FileOperationFormat.HTMLZip
? await DocumentHelper.toHTML(document)
? await DocumentHelper.toHTML(document, { centered: true })
: await DocumentHelper.toMarkdown(document);
const attachments = await Attachment.findAll({
where: {