Skip to content

Commit

Permalink
warning in tabbed markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Dec 30, 2024
1 parent 5f9b603 commit 4163dca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/utils/mermaidUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 += "<!-- This page has been generated to be viewed with mkdocs-material, you can not view it just as markdown . Activate tab plugin following the doc at https://squidfunk.github.io/mkdocs-material/reference/content-tabs/ -->\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`;
Expand Down

0 comments on commit 4163dca

Please sign in to comment.