diff --git a/templates/function.mustache b/templates/function.mustache index 8796c1c..c96b14e 100644 --- a/templates/function.mustache +++ b/templates/function.mustache @@ -2,32 +2,31 @@ {{#description}} {{{description}}} - +
{{/description}} {{#deprecated}} Deprecated: {{{deprecated}}} - +
{{/deprecated}} {{#hasParams}} **Parameters** - +
{{/hasParams}} {{#params}} {{#nested}} - {{/nested}}**{{name}}**: {{#typesString}}`{{typesString}}`{{/typesString}}{{#description}}, {{{description}}}{{/description}} - +
{{/params}} {{#fires}} **Fires**: {{.}} - +
{{/fires}} {{#returns}} **Returns**: {{#typesString}}`{{typesString}}`{{/typesString}}{{#description}}, {{{description}}}{{/description}} {{/returns}} - +
{{#examples}} **Example**: ```js {{{examples}}} ``` - {{/examples}}