gformat-hast-to-html
Hast to html converter
Last updated 4 months ago by a.marucci .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gformat-hast-to-html 
SYNC missed versions from official npm registry.

gformat-hast-to-html

Hast to HTML converter

Installation

npm install --save gformat-hast-to-html

Api

node.data.ignore

When this property true the node is skipped for attribute collapsing.

node.data.preserveAttrWrapping

When this property true the node is skipped for attribute collapsing.

Caveats

The implementation is a modified version of hast-util-to-html.

  • Known html attributes aren't handled case-sensitively
  • Consider printWidth
  • Don't encode attribute values
  • Don't escape special characters in text
  • Don't omit value behind boolean attributes

Current Tags

  • 0.1.2                                ...           latest (4 months ago)

1 Versions

  • 0.1.2                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |