Skip to content

Commit

Permalink
Merge pull request #540 from GuillaumeDesforges/converter-async-render
Browse files Browse the repository at this point in the history
Allow async engine.render in converter
  • Loading branch information
yhatt authored Aug 14, 2023
2 parents 8c7a09b + e2ca89a commit 0c80836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class Converter {

tplOpts.modifier?.(engine)

const ret = engine.render(stripBOM(markdown))
const ret = await engine.render(stripBOM(markdown))

const info = engine[engineInfo]
const outline = engine[pdfOutlineInfo]
Expand Down

0 comments on commit 0c80836

Please sign in to comment.