{"action":"closed","issue":{"url":"https://api.github.com/repos/jsdoc2md/dmd/issues/29","labels_url":"https://api.github.com/repos/jsdoc2md/dmd/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/jsdoc2md/dmd/issues/29/comments","events_url":"https://api.github.com/repos/jsdoc2md/dmd/issues/29/events","html_url":"https://github.com/jsdoc2md/dmd/issues/29","id":129681047,"number":29,"title":"Enhancement: Keep parameter list on one line","user":{"login":"catesandrew","id":172752,"avatar_url":"https://avatars.githubusercontent.com/u/172752?v=3","gravatar_id":"","url":"https://api.github.com/users/catesandrew","html_url":"https://github.com/catesandrew","followers_url":"https://api.github.com/users/catesandrew/followers","following_url":"https://api.github.com/users/catesandrew/following{/other_user}","gists_url":"https://api.github.com/users/catesandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/catesandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catesandrew/subscriptions","organizations_url":"https://api.github.com/users/catesandrew/orgs","repos_url":"https://api.github.com/users/catesandrew/repos","events_url":"https://api.github.com/users/catesandrew/events{/privacy}","received_events_url":"https://api.github.com/users/catesandrew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-29T06:37:23Z","updated_at":"2016-02-01T14:37:34Z","closed_at":"2016-02-01T14:37:34Z","body":"I have a couple minor enhancements to the [params list](https://github.com/jsdoc2md/dmd/blob/master/partials/all-docs/docs/body/params/params-list.hbs#L1-L6)\r\n- Add a colon after `**Params**` followed by a blank line so the list that starts after it is rendered by a wider collection of applications.\r\n- Keep the `name`, `type`, and `description` that follows on the same line. Simply add a `~` to the closing `if` that comes after `linked-type-list` so it becomes `{{~/if}}`.\r\n- Skip rendering the `**Params**` all together if there are none in the list (not implemented here)\r\n\r\nBefore:\r\n```hbs\r\n{{#params}}**Params**\r\n{{#each this~}}\r\n{{indent}}- {{name}}{{#if type}} {{>linked-type-list types=type.names delimiter=\" | \" }}{{/if}}{{#unless (equal defaultvalue undefined)}} {{>defaultvalue equals=true ~}}{{/unless}}{{#if description}} - {{{inlineLinks description}}}{{/if}}\r\n{{/each}}\r\n\r\n{{/params~}}\r\n```\r\n\r\nAfter:\r\n```hbs\r\n{{#params}}**Params**:\r\n\r\n{{#each this~}}\r\n{{indent}}- {{name}} {{#if type~}}{{>linked-type-list types=type.names delimiter=\" | \" }} {{~/if}}{{#unless (equal defaultvalue undefined)}} {{>defaultvalue equals=true ~}}{{/unless}}{{#if description}} - {{{inlineLinks description}}}{{/if}}\r\n{{/each}}\r\n\r\n{{/params~}}\r\n```"}}