This commit is contained in:
Endeavorance 2025-04-01 13:20:43 -04:00
parent 8bb807c8e7
commit c66dd4d39c
3 changed files with 10 additions and 6 deletions

View file

@ -31,14 +31,15 @@ async function processBinding({ inputFilePath, options }: CLIArguments) {
return ExitCode.Success;
}
if (options.markdown) {
await compileMarkdownInPlaybill(binding);
}
// Serialize (default: JSON)
let serializedPlaybill = "";
switch (options.renderer) {
case "json":
if (options.markdown) {
await compileMarkdownInPlaybill(binding);
}
serializedPlaybill = binding.playbill.serialize();
break;
case "html":