grunt-inline-css icon indicating copy to clipboard operation
grunt-inline-css copied to clipboard

Allow to configure juice.codeBlocks to support general exclusion of fenced code, like EJS, HBS, etc.

Open maciejlach opened this issue 7 years ago • 3 comments

  • 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: {}
    }
}

maciejlach avatar Apr 07 '17 17:04 maciejlach

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.

blacksun1 avatar May 22 '17 13:05 blacksun1

Hi @maciejlach, do you want to redo this for version 2?

Thanks in advance,

blacksun1 avatar May 30 '17 21:05 blacksun1

Hi @blacksun1, I will provide a pull request for 2.0.

maciejlach avatar May 31 '17 09:05 maciejlach