b-connect/plugin-twig-doc

Installs: 221

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Type:patternlab-plugin

0.9.2 2018-04-18 11:50 UTC

README

{#
/**
 * My component
 *
 * This is a description for my component.
 *
 * @example
 * {% for i in 1.6 %}
 *   <h{{ i }}>Headline {{ i }}</h{{i}}>
 * {% endfor %}
 *
 * @param String $title Headline text
 * @param int $depth Headline depth
 * /
#}

<h{{ depth }}>{{ title }}</h{{ depth }}>

Supported tags

  • Title
  • Description
  • @param
  • @example