
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
docpad-plugin-beautify
Advanced tools
Beautify HTML, CSS and JavaScript files from DocPad using JS Beautify.
docpad install beautify
Any HTML, CSS or JavaScript file that is processed in src/documents will be beautified.
The default configuration for this plugin is the equivalant of adding the following Beautify options to your DocPad configuration file:
plugins:
uglify:
# Enable HTML beautification.
html: true
# Enable CSS beautification.
css: true
# Enable JavaScript beautification.
js: true
# The Beautify options at http://github.com/einars/js-beautify#options
indent_size: 4
indent_char: " "
indent_level: 0
indent_with_tabs: false
preserve_newlines: true
max_preserve_newlines: 10
jslint_happy: false
brace_style: "collapse"
keep_array_indentation: false
keep_function_indentation: false
space_before_conditional: true
break_chained_methods: false
eval_code: false
unescape_strings: false
wrap_line_length: 0
It is possible to override the default configuration on a per-template basis:
---
beautify:
indent_size: 10
---
.tabs{color:rgb(255, 255, 0)}
Discover the change history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Licensed under the incredibly permissive MIT license
Copyright © Rob Loach (http://github.com/robloach)
FAQs
Beautify HTML, CSS and JavaScript in DocPad
We found that docpad-plugin-beautify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.