grunt-inline-css
grunt-inline-css copied to clipboard
Allow to configure juice.codeBlocks to support general exclusion of fenced code, like EJS, HBS, etc.
- Upgrade juice to 4.0.2
- Allow to configure juice.codeBlocks (https://github.com/Automattic/juice/commit/280c311f24e05b21f8e7a47c926eead1f2d06a4f)
Example configuration with alternative syntax for FreeMarker template:
inlinecss: {
main: {
codeBlocks: {
fmOpen: {
start: '[#',
end: ']'
},
fmClose: {
start: '[/#',
end: ']'
}
},
options: {},
files: {}
}
}
Hi, I do want to do an upgrade to Juice 4 but this HAS to be a major semantic update. Juice 4 is only compatible with node 4 and up.
Hi @maciejlach, do you want to redo this for version 2?
Thanks in advance,
Hi @blacksun1, I will provide a pull request for 2.0.