b-connect / plugin-twig-doc
0.9.2
2018-04-18 11:50 UTC
Requires
- php: >=5.4
- cebe/markdown: ~1.2.0
- pattern-lab/core: ^2.4.0
- pattern-lab/patternengine-twig: ~2.0
- phpdocumentor/reflection-docblock: ^4.3
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 }}>
支持的标签
- 标题
- 描述
- @param
- @example