prettier-plugin-wp-block-html weekly downloads statistics
By co6x0 · npm · Prettier plugins
A Prettier plugin for HTML in WordPress Block Theme.
prettier-plugin-wp-block-html has 28 recorded weekly downloads on npm, an increase of 75.0% over the past 30 days, ranking #2918 of 3,247 tracked listings.
About prettier-plugin-wp-block-html
prettier-plugin-wp-block-html
A Prettier plugin for HTML in WordPress Block Theme.
This plugin formats unique HTML code including Block markups in the WordPress block theme.
⚠️ Warning
This plugin is currently in beta. It may return unexpected results.
Usage
Install Prettier 3 and this plugin:
npm install -D prettier prettier-plugin-wp-block-html
Use the explicit wp-block-html parser for files that contain WordPress block comments.
For block themes, this usually means parts, templates, and patterns:
{
"plugins": ["prettier-plugin-wp-block-html"],
"overrides": [
{
"files": ["parts/**/*.html", "templates/**/*.html", "patterns/**/*.html"],
"options": {
"parser": "wp-block-html"
}
}
]
}
You can also pass the parser on the command line:
npx prettier --write "parts/**/*.html" "templates/**/*.html" "patterns/**/*.html" --plugin prettier-plugin-wp-block-html --parser wp-block-html
For compatibility with existing setups, the plugin still exposes an html parser wrapper.
For more information, please refer to Prettier documentation.
Using with other Prettier plugins
This plugin uses specific Prettier APIs, which may conflict with other plugins that use similar APIs.
To avoid this problem, consider the order of the plugins in the Prettier configuration file. Now you can use this plugin with prettier-plugin-tailwindcss.
// .prettierrc.json
{
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-wp-block-html"]
}
Description from the npm listing.
- prettier-plugin
- prettier
- wordpress
- html
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Prettier plugins plugins
All 20 prettier-plugin-wp-block-html alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/prettier-plugin-wp-block-html. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.