Updated
This commit is contained in:
parent
8bb807c8e7
commit
c66dd4d39c
3 changed files with 10 additions and 6 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue