3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 17:45:03 +00:00

add name to the usage signature

This commit is contained in:
metal 2021-09-06 14:17:51 +00:00 committed by GitHub
parent 6bc975e4b2
commit 1d967a51d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ export function generateTemplateMarkdown(definitions: TemplateFunction[]): strin
const exampl = def.examples ? def.examples.map(ex => `> ${ex}`).join("\n") : ""; const exampl = def.examples ? def.examples.map(ex => `> ${ex}`).join("\n") : "";
return ` return `
#### ${def.name} #### ${def.name}
\`{${usage}}\` \`{${def.name}${usage}}\`
**${def.description}** **${def.description}**
${exampl} ${exampl}
`; `;