PostHTML is a tool for transforming HTML/XML with JS plugins. PostHTML itself is very small. It includes only a HTML parser, a HTML node tree API and a node tree stringifier. All HTML transformations are made by plugins. And these plugins are just small plain JS functions, which receive a HTML node tree, transform it, and return a modified tree.
posthtml parser html xml xml-parser html-parser postproccessor transform transformations manipulation preprocessor processorGenerate pixel fallbacks for rem units with Grunt. I'm not working on any ie8 projects anymore, so have no reason to use this code.If you find this code useful feel free to ping me and I'll hand the repo over to you.
css parser postproccessor rem responsive grunt.js grunt gruntpluginPostCSS plugin that generates pixel fallbacks for rem units. Pixrem is a CSS post-processor that, given CSS and a root em value, returns CSS with pixel unit fallbacks or replacements. It's based on browser data so only needed fallbacks will be added. Basically, it's for IE8 or less, and for IE9 & IE10 in the font shorthand property and in pseudo-elements.
css postcss postcss-plugin rem parser postproccessor responsivePixrem – A CSS post-processor that generates pixel fallbacks for rem units. Issues with the output should be reported on the Pixrem issue tracker.
css parser postproccessor gulppluginModular HTML minifier, built on top of the PostHTML. Inspired by cssnano. A preset is just an object with modules config.
posthtml posthtml-plugin html postproccessor minifierPostHTML plugin that inlines CSS modules in HTML. I suggest using postcss-modules to generate CSS modules. Check the PostHTML documentation for integration examples with grunt, gulp, and other build systems.
css-modules posthtml posthtml-plugin html postproccessor cssPostHTML plugin that allows a template to extend (inherit) another templates (Jade-like). Now we can inherit this template. All defined blocks inside <extends> will replace the blocks with the same name in the parent template. If the block is not defined inside <extends> its content in the parent template remains the same.
posthtml posthtml-plugin html postproccessor jade extend templatePostHTML plugin that automatically sets width and height of <img>. It supports JPG, PNG, GIF, BMP, TIFF, SVG, and WebP. It autosizes both local and remote images.
posthtml posthtml-plugin html postproccessor autosize img imageThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
html include postproccessor parser transform manipulationPostHTML plugin for inlining CSS to style attrs.
posthtml posthtml-plugin html css inliner inline postproccessor styleDestination path, where the extracted CSS is saved to. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
html xml css file convert style-to-file postproccessor parser transform manipulation
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.