1.0.5 • Published 3 years ago

css-inliner-templates-jinja2 v1.0.5

Weekly downloads
2
License
GPL-3.0
Repository
gitlab
Last release
3 years ago

CSS Inliner Templates Jinja2

Jinja2 template support for CSS Inliner.

Only implements a very basic matching for Jinja2 template literals, which might fail in some specific circumstances. It is, however, very lightweight. If you do encounter problems with your template, please submit an issue with the template that fails to be inlined so that this package can be improved accordingly.

Install

npm install css-inliner-templates-jinja2

Example

const CSSInliner = require("css-inliner");
const CSSInlinerTemplateJinja2 = require("css-inliner-templates-jinja2");

const inliner = new CSSInliner({
    template: CSSInlinerTemplateJinja2
});
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago