cultofcoders:snippetter

v0.0.1Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Documentation

Problem: I want to write documentation for code using {{, }}, and different sort of tags. This is the best way we could think of to do this.

Create files using snippet extension: demo.snippet

Write anything you want in it.

Use template helper:

{{ snippet 'demo' }}

Access it from the "Snippets" global variable:

Snippets['demo.snippet']