Package Exports
- @starptech/prettyhtml-hastscript
- @starptech/prettyhtml-hastscript/svg
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@starptech/prettyhtml-hastscript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@starptech/prettyhtml-hastscript
Hyperscript compatible DSL for creating virtual HAST treesThe implementation is a derivated from hastscript (Version 4.0.0)
npm install --save @starptech/prettyhtml-hastscript
📖 Documentation 📖
Modifications
- Don't coerce or optimize attribute values
- Don't house
<template>
node throughcontent
property. Handle it like any other element.
Caveats
- Known html attributes aren't handled case-sensitively