fis3-postprocessor-prettyhtml

3.1.0 • Public • Published

fis3-postprocessor-prettyhtml

a code formatter of fis3 based on prettyhtml.

styled with prettier npm npm npm

install

npm install --global fis3-postprocessor-prettyhtml

usage

// fis-conf.js
const options = {}

fis.match('*.html', {
  postprocessor: fis.plugin('prettyhtml', options),
})

config: https://github.com/Prettyhtml/prettyhtml

default options

{
  "tabWidth": 2,
  "useTabs": false,
  "printWidth": 80,
  "usePrettier": true,
  "singleQuote": false
}

NOTICE: this might change in future

links

license

MIT © fisker Cheung

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.1.00latest

Version History

VersionDownloads (Last 7 Days)Published
3.1.00
3.0.10
3.0.00
2.1.130
2.1.120
2.1.110
2.1.100
2.1.90
2.1.80
2.1.70
2.1.60
2.1.50
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.40
2.0.30
2.0.20
2.0.10
2.0.00
1.4.10
1.4.00
1.3.30
1.3.20
1.3.10
1.3.00
1.2.70
1.2.60
1.2.50
1.2.40
1.2.20
1.2.10
1.2.00
1.1.70
1.1.60
1.1.50
1.1.40
1.1.20
1.1.10
1.1.00
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i fis3-postprocessor-prettyhtml

Weekly Downloads

0

Version

3.1.0

License

MIT

Unpacked Size

49.4 kB

Total Files

4

Last publish

Collaborators

  • fisker