Kerf, explained
The beam removes a thin line of material — the kerf. For parts that fit together, draw
slots kerf / 2 narrower on each side.
Note
Kerf varies with material and focus. Cut a test comb first.
- Measured on birch ply
- Measured on acrylic
Component
Markdown rendered into loidolt prose — safe by default, highlighted and diagrammed in the browser.
import { Markdown } from '@loidolt/theme-docs';
The beam removes a thin line of material — the kerf. For parts that fit together, draw
slots kerf / 2 narrower on each side.
Note
Kerf varies with material and focus. Cut a test comb first.
javascript: and friends are dropped). Turn on allowHtml only for markdown you wrote, or with a sanitize hook.setHighlighterLoader), code is highlighted on the syntax tokens, so it follows light and dark with no second pass.:::note, > [!TIP]), footnotes, definition lists and task lists all render with their accessible names; every code block is keyboard-reachable and has a copy button.Generated from the component source, so it cannot drift from the implementation.
| Prop | Type | Default | Notes |
|---|---|---|---|
class | string | — | |
copiedLabel | string | 'Copied' | What a copy button says, and what is announced, once its code is copied. |
diagramLabel | string | 'Diagram' | Names a drawn Mermaid diagram. |
diagramSourceLabel | string | 'Diagram source' | Labels the disclosure holding a diagram's source. |
onRender | (result: RenderedMarkdown) => void | — | Called with each render — the synchronous one, then the highlighted one if it differs. |
options | MarkdownOptions | {} | Rendering options: HTML policy, heading links, labels… See MarkdownOptions. |
ref bindable | HTMLElement | null | null | |
result | RenderedMarkdown | — | Or a result from renderMarkdown — e.g. rendered and highlighted in a server load. |
source | string | '' | Markdown to render. The first render is synchronous, so it is in the server's HTML. |
Plus the attributes of HTMLAttributes<HTMLElement>, forwarded to the root element.