Skip to content

v5.0.0

Compare
Choose a tag to compare
@straker straker released this 27 Apr 05:49
· 23 commits to master since this release
  • fix(parseComments): left trim comment description when used as name of section
  • feat(tags): a custom tag with only a type of markdown and no name will now result in just a DOM string instead of creating an object.
/**
 * @customTag {markdown} Hello *world!*
 */

Before:

customTag: {
  description: '<p>Hello <em>world!</em></p>',
  type: 'markdown'
}

After:

customTag: '<p>Hello <em>world!</em></p>'