Open shah opened 2 years ago
context="client"
or similar to :pcii[symbol]{context="client"}
so that the variable will be injected in the browser instead of at built time. The default context
is server
or build
.*.client.pcii.ts
output could include web component in the bundled Javascript file?We also need to add the ability for directives to be recursively rendered in case the result of PCII content has Markdown.
Create proxied content infuse and interpolate (PCII) Markdown directive for including dynamic content from modules. This directive is called
PCII
because content is proxied (delegated from somewhere else), is infused (included) into the current text stream, and is (optionally) interpolated dynamically if the symbol is a function.Spec:
where
symbol
is the name of an exported variable or function inpath/path/module.ts
.