@love-rox/kumihimo-astro
v0.9.4
Published
Astro integration and component rendering kumihimo AV signal flow diagrams (系統図)
Maintainers
Readme
@love-rox/kumihimo-astro
Astro integration and component for kumihimo — AV signal flow diagrams (系統図) written as text.
pnpm add @love-rox/kumihimo-astroimport kumihimo from '@love-rox/kumihimo-astro';
export default defineConfig({ integrations: [kumihimo({ theme: 'dark' })] });Renders kumihimo code fences in Markdown and MDX. For .astro files:
---
import Kumihimo from '@love-rox/kumihimo-astro/Kumihimo.astro';
---
<Kumihimo source={src} theme="dark" />Astro components are async and run at build time, so this awaits the compile directly: the page ships static SVG with no layout engine in the bundle and nothing to hydrate.
See kumihimo.love-rox.cc for the guide and an editor you can type into, or the project README for the other packages.
License
MIT © SASAGAWA Kiyoshi
