<code-anatomy/>

A native web-component which can identify parts of code; expected to be used in documentation pages to annotate.

Basic HTML example (edit off)

My First Heading

My first paragraph.

Basic CSS example (edit off)

.section { --background-color: blue; background-color: var(--background-color, white); }

Basic JavaScript example (edit off)

function add() { return [...arguments].reduce((acc, num) => acc + num, 0); }

Basic HTML example (edit on)