2017 © Pedro Peláez
 

patternlab-plugin plugin-twig-doc

image

b-connect/plugin-twig-doc

  • Wednesday, April 18, 2018
  • by erik.seifert
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 16 Versions
  • 15 % Grown

The README.md

Support for phpdoc headers

{#
/**
 * 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

The Versions