mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-06 18:47:20 +00:00
docs: plugin definition type
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
c428bb14de
commit
6548379369
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ export function generateTemplateMarkdown(definitions: TemplateFunction[]): strin
|
|||
const usage = def.signature ?? `(${def.arguments.join(", ")})`;
|
||||
const examples = def.examples?.map((ex) => `> \`{${ex}}\``).join("\n") ?? null;
|
||||
return trimPluginDescription(`
|
||||
## ${def.name}${def.plugin ? ` (${def.plugin} only)` : ""}
|
||||
## ${def.name}${def.plugin ? ` (${def.plugin})` : ""}
|
||||
**${def.description}**\n
|
||||
__Usage__: \`{${def.name}${usage}}\`\n
|
||||
${examples ? `__Examples__:\n${examples}` : ""}\n\n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue