UNPKG

verb

Version:

Verb makes it easy to build project documentation using simple markdown templates, with zero configuration required.

50 lines (29 loc) 757 B
## Options ### omit Omit properties from the context. Type: `Array` Defaults: `[]` Returns: `Object` Useful if properties are added via options, but should not be on the context. ## config See [config docs](./config.md) ## Tags, Filters and Variables Which is which?! For the most part, **variables** look like this ``` {%= foo %} ``` However, **tags** and **filters** both look like this: ``` {%= bar() %} ``` with the difference _(in Verb)_ being that: * **tags**: generate, include or otherwise "add" content of some kind * **filter**: modify, filter, transform or otherwise alter content in some way ### Example: Tags vs. Filters In this example: * `condense` is a filter * `include` is a tag ``` {%= condense(include('foo')) %} ```