UNPKG

secst

Version:

SECST is a semantic, extensible, computational, styleable tagged markup language. You can use it to joyfully create compelling, interactive documents backed by HTML.

17 lines (16 loc) 360 B
const meta = { contentAllowed: true, attributesAllowed: { name: true, content: true }, transform(node) { node.attributes.content = node.content.join(""); node.content = []; return node; }, mounted(el) { document.head.appendChild(el); } } export {meta,meta as default}