Hyperscript compatible DSL for creating virtual HAST trees
npm install --save @starptech/prettyhtml-hastscript
The implementation is a modified version of Hastscript Version 4.0.0
- Known html attributes aren't handled case-sensitively
- Don't coerce or optimize attribute values
- Don't house
<template>
node throughcontent
property. Handle it like any other element.