Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ain/handlebars-helper-rawinclude

Include raw file content into Handlebars template.
https://github.com/ain/handlebars-helper-rawinclude

handlebars handlebars-helpers javascript svg svg-sprites

Last synced: 3 months ago
JSON representation

Include raw file content into Handlebars template.

Awesome Lists containing this project

README

        

# {{rawinclude}} [![](https://img.shields.io/badge/licence-GPL-bd0000.svg)](https://github.com/ain/handlebars-helper-rawinclude/blob/master/LICENSE) [![Build status](https://travis-ci.org/ain/handlebars-helper-rawinclude.svg)](https://travis-ci.org/ain/handlebars-helper-rawinclude) [![npm version](https://badge.fury.io/js/handlebars-helper-rawinclude.svg)](http://badge.fury.io/js/handlebars-helper-rawinclude)

> Handlebars helper, includes raw content of the file pointed. Like
> `handlebars-helper-include` but without context.

## Example

In your Handlebars template:
```html
{{{rawinclude 'path/to/file.svg'}}}
```

## Sponsors

Cross-browser testing is powered by

BrowserStack

## Licence
Copyright © 2014-2017 Ain Tohvri. Licenced under [GPL-3](https://github.com/ain/handlebars-helper-rawinclude/blob/master/LICENSE).