@petitatelier/dia-code
v0.2.11
Published
The ‹dia-code› web component displays code fragments in a monospaced font
Downloads
9
Maintainers
Readme
@petitatelier/dia-code
Defines the ‹dia-code› web component, which displays code fragments in a monospaced font, eventually highlighted.
Features
- Displays a code fragment in a monospaced font.
Usage
<dia-code type="javascript">
customElements.define( "x-element", class XElement {
…
});
</dia-code>