CoolFormat

CoolFormat Source Code Formatter

View project on GitHub

HTML

HTML/XHTML/XML

Add xml decl

Add xml space

Alt text

Anchor as name

Assume xml procins

Bare

Clean

Coerce endtags

CSS-prefix

Decorate inferred ul

Doctype

Doctype User

Drop empty elements

Drop empty paras

Drop font tags

Drop proprietary atts

Enclose block text

Enclose text

Escape cdata

Fix backslash

Fix bad comments

Fix uri

Gdoc

Hide comments

Hide endtags

Indent cdata

Input xml

Join classes

Join styles

Literal attributes

Logical emphasis

Lower literals

Merge divs

Merge emphasis

Merge spans

NCR

New blocklevel tags

New empty tags

New inline tags

New pre tags

Numeric entities

Omit optional tags

Output html

Output xhtml

Output xml

Preserve entities

Quote ampersand

Quote marks

Quote nbsp

Repeated attributes

Replace color

Show body only

Skip nested

Strict tags attributes

Uppercase attributes

Uppercase tags

Word 2000

Pretty Print

Break before br

Escape scripts

Indent

Indent attributes

Indent spaces

Indent with tabs

Markup

Punctuation wrap

Sort attributes

Tab size

Vertical space

Wrap

Wrap asp

Wrap attributes

Wrap jste

Wrap php

Wrap script literals

Wrap sections

Character Encoding

Ascii chars

Char encoding

Input encoding

Output encoding

Diagnostics

Show errors

Show info

Show warnings

Miscellaneous

Force output