commonjs-html-prettyprinter icon indicating copy to clipboard operation
commonjs-html-prettyprinter copied to clipboard

easy HTML pretty printing in commonJS

Results 11 commonjs-html-prettyprinter issues
Sort by recently updated
recently updated
newest added

System specs: - Node: 6.1.0 - OSX: 10.11.5 I haven't had any luck with this: ``` js var html = require('html'); var txt = 'AwesomeComis awesome'; html.prettyPrint(txt, {indent_size: 2}); //...

There should be information about the compatibility with Node versions. I could not find anything on the npm package page or the issues page or in the package.json. I was...

Most people are probably not looking to add extra spaces around the `` and `` tags. It was doing this: ```html ``` Perhaps it could be an option, but certainly...

It was not being used (WTF) and in modern versions of Node it resulted in the following warning: > The `sys` module is now called `util`. It should have a...

Input example part: ``` {%- if page %} {%- set resource = page %} {%- elif section %} {%- set resource = section %} {%- endif %} ``` `html` format...

Obviously, `npx html index.html > index.html` will yield an empty file, so how do I tell `html` to update a file in place?

Hi, Could you please precise under which license the code is published ? The Readme and package mention a "BSD" license (which is a little bit ambiguous, as there is...

With this modification, we're able to use the Parser itself

Hi! First, thanks for the lib, it's super useful 👍 I've spotted a bug with the handling of `` content whitespace, where it's removed by `prettyPrint`: ```node require('html').prettyPrint(' hello ')...

command installed, command not found. squirple:~ dietrich$ node --version v0.8.18 squirple:~ dietrich$ npm --version 1.3.1 squirple:~ dietrich$ npm list | grep html ├── [email protected] │ ├── [email protected] squirple:~ dietrich$ html...