Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

handlebars-inline

A simple Handlebars helper for inlining the contents of files.

Install

Install with npm:

$ npm install --save handlebars-inline

Registering the helper

const Handlebars = require('handlebars')
require('handlebars-inline').register(Handlebars)

Usage

{{{inline 'path/to/file.svg'}}}

Note: Handlebars helper output is HTML escaped by default. To skip escaping use the "triple-stash": {{{

About

A handlebars helper for inlining the contents of an external file.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages