diff --git a/src/common/utils/mermaidUtils.ts b/src/common/utils/mermaidUtils.ts index a891462b1..fd9c9dfef 100644 --- a/src/common/utils/mermaidUtils.ts +++ b/src/common/utils/mermaidUtils.ts @@ -546,6 +546,7 @@ export async function generateHistoryDiffMarkdown(flowFile: string, debugMode: b // Set all the results in a single tabbed markdown uxLog(this, c.cyan(`Aggregating results in summary tabbed file ${diffMdFile}...`)); let finalMd = `# ${flowLabel} history\n\n`; + finalMd += "\n\n" for (const diffMdFile of diffMdFiles) { finalMd += `=== "${moment(diffMdFile.commitAfter.date).format("ll")}` + (diffMdFile.initialVersion ? " (Initial)" : "") + `"\n\n`; finalMd += ` _${moment(diffMdFile.commitAfter.date).format("ll")}, by ${diffMdFile.commitAfter.author_name} in commit ${diffMdFile.commitAfter.message}_\n\n`;