Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ain/handlebars-helper-rawinclude
- Owner: ain
- License: gpl-3.0
- Created: 2014-05-28T09:55:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T22:30:43.000Z (almost 8 years ago)
- Last Synced: 2024-10-10T10:24:54.617Z (4 months ago)
- Topics: handlebars, handlebars-helpers, javascript, svg, svg-sprites
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/handlebars-helper-rawinclude
- Size: 45.9 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
## Licence
Copyright © 2014-2017 Ain Tohvri. Licenced under [GPL-3](https://github.com/ain/handlebars-helper-rawinclude/blob/master/LICENSE).