Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→html-crush→Examples

Permalink to Table of ContentsTable of Contents

  • Quick Take
  • Configure CSS comment removal
  • Insert line breaks before selected tokens
  • Treat a custom element as inline
  • Choose which HTML comments to remove
  • Wrap minified HTML at a line-length limit
  • Preserve CSS token boundaries when removing comments
  • Preserve whitespace that terminates CSS escapes
  • Preserve encoded inline CSS
  • Observe progress in a custom interval
  • Remove line indentations
  • Remove HTML line breaks
  • Inspect result metadata and edit ranges
↑ back to top

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Configure CSS comment removalConfigure CSS comment removal

↑ back to top

Permalink to Insert line breaks before selected tokensInsert line breaks before selected tokens

↑ back to top

Permalink to Treat a custom element as inlineTreat a custom element as inline

↑ back to top

Permalink to Choose which HTML comments to removeChoose which HTML comments to remove

↑ back to top

Permalink to Wrap minified HTML at a line-length limitWrap minified HTML at a line-length limit

↑ back to top

Permalink to Preserve CSS token boundaries when removing commentsPreserve CSS token boundaries when removing comments

↑ back to top

Permalink to Preserve whitespace that terminates CSS escapesPreserve whitespace that terminates CSS escapes

↑ back to top

Permalink to Preserve encoded inline CSSPreserve encoded inline CSS

↑ back to top

Permalink to Observe progress in a custom intervalObserve progress in a custom interval

↑ back to top

Permalink to Remove line indentationsRemove line indentations

↑ back to top

Permalink to Remove HTML line breaksRemove HTML line breaks

↑ back to top

Permalink to Inspect result metadata and edit rangesInspect result metadata and edit ranges

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab