PostHTML
Plugins Catalog
add plugin
htmlnano
Modular HTML minifier, built on top of the PostHTML
alt-always
Always add alt attribute for images that don't have it (accessibility reasons)
aria-tabs
Write accessible tabs with minimal markup
attrs-parser
PostHTML helper that gives a better API to work with tag's attrs
attrs-sorter
The sorting attribute of the tag based on the given order
auto-class
PostHTML plugin that attach a class attribute automatically
beautify
A posthtml plugin to beautify you html files
bem
PostHTML-plugin for creating BEM-named class structure
bem-sugar
PostHTML plugin for support to simplify the maintenance of BEM naming structure in jade based on prefixes.
block
PostHTML plugin that to create block element (like a component)
classes
PostHTML-plugin to retrieve a list of classes from html with support of nested structure
class-to-css-module
A posthtml plugin for removing tags
collect-inline-styles
PostHTML plugin that collect inline styles and insert to <head>
collect-styles
Collect styles from html and put it in the head
color-shorthand-hex-to-six-digit
DEPRECATED. Use color-shorthand-hex-to-six-digit instead.
content
Flexible content transform for posthtml
css-modules
Use CSS modules in HTML
custom-elements-defouc
A PostHTML plugin to mitigate intrinsic FOUC of Custom Elements.
custom-elements
PostHTML plugin. Use HTML Custom Element now.
doctype
posthtml doctype plugin
each
Repeat your content
email-remove-unused-css
DEPRECATED - use email-remove-unused-css directly
exp
Local variables, expressions, loops, and conditionals for posthtml
extend
Templates extending (Jade-like)
extend-attrs
Extend HTML attrs with CSS to SVG attrs
hash
PostHTML plugin for hashing static assets
head-elements
Build HTML head elements from a JSON file
highlight
PostHTML Syntax Highlighting Plugin
img-autosize
Auto setting width and height of img tag
include
Include files in HTML
inline-assets
Inline external scripts, styles, and images in HTML
inline-favicon
PostHTML plugin to inline favicons
inline-css
PostHTML CSS Inliner
inline-svg
Inline svg icons in HTML
insert-at
PostHTML plugin to append or prepend HTML to a selector
jspm-config-generator
PostHTML Plugin that helps to generate JSPM imports file
load-plugins
Autoload Plugins for PostHTML
lorem
Add lorem ipsum placeholder text to any document
markdown
Render markdown inside html elements and seemlessly mix html and markdown content
match-helper
A helper to expand CSS selectors into PostHTML matcher objects
md
Easily use context-sensitive markdown within HTML
minifier
PostHTML plugin that wraps HTMLMinifier
minify-classnames
PostHTML plugin for minifying classnames
modular-css
posthtml modular css plugin
modules
Posthtml modules processing
noopener
PostHTML plugin to add 'rel="noopener noreferrer"' to links that open in a new tab
noscript
PostHTML plugin to insert noscript content
parser
Parse HTML/XML to PostHTMLTree
plugin-link-preload
PostHTML plugin removes duplicated elements
plugin-remove-duplicates
PostHTML plugin removes duplicated elements
postcss
PostHTML-PostCSS plugin. Use PostCSS in HTML document
postcss-modules
CSS Modules in html
prefix-class
PostHTML plugin to prefix class names
preset-html
This package is no longer supported and has been deprecated.
pseudo
Adds pseudo class names to elements.
px2rem
Change px to rem in HTML inline CSS based on PostHTML
remove-duplicates
Remove duplicate elements from your html
remove-tags
A posthtml plugin for removing tags
render
Renders PostHTML Tree to HTML/XML
retag
Tag converter plugin for PostHTML
retext
Retext PostHTML plugin
richtypo
PostHTML Richtypo plugin
schemas
Add schema.org microdata to your markup super easy
shorten
A PostHTML plugin to shorten URLs in HTML elements
sri
PostHTML subresource integrity plugin
standard
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
static-react
A PostHTML plugin to render custom elements as static React components.
style-expansion
PostHTML plugin expansion link rel="stylesheet"
style-to-file
posthtml style-to-file plugin
sugar-srcset
This shortens the description of the value of srcset.
textr
Textr PostHTML plugin
toc
PostHTML Title of Contents
transformer
A posthtml plugin for transforming HTML contents
uglify
A PostHTML plugin to rewrite CSS identifiers in HTML
web-component
Server Side Web Component Render.
when
PostHTML plugin for conditional plugins
external-link
Add 'rel="external noopener nofollow"' and 'target="_blank"' to all external links [PostHTML Plugin]
rtl
A flexible utility to convert HTML to RTL (right to left) and vice versa.