genji
genji copied to clipboard
The Markdown extension for interactive documents, available in VitePress.
close: https://github.com/pearmini/genji/issues/202
```js const treemap = d3 .treemap() .size([width, height]) .tile( d3 .treemapFlex() // Sets wrap count for elements in group. .wrap((d) => (d.data.name === "group" ? wrap : d.children.length)), ) .padding(padding);...
> Related: https://github.com/pearmini/genji/issues/218 https://github.com/acornjs/acorn?tab=readme-ov-file
```md Current year is `${new Date(now).getFullYear()}`. ```` ```md Drag the slider `${Inputs.range([0, 1], {...})}`. ``` or ````md ```js eval md`Current year is ${new Date(now).getFullYear()}` ``` ```` ````md ```js eval Drag...
```js call(() => { const p5 = new P5(sketch, container); // Without return statement is OK. }) ```