@leo-studio/leo-markup
v0.3.0
Published
Pure-contract doc engine: shared leo.* vocabulary, island scanner, leo registry, prop schemas, PageContext type, and the parity test harness
Readme
@leo-studio/leo-markup
Pure-contract doc engine: shared leo.* vocabulary, island scanner, leo registry, prop schemas, PageContext type, and the parity test harness
Usage
import { isIslandSpan, scan } from '@leo-studio/leo-markup';
const islands = scan('Stability: <leo.badge value="Stable" />').filter(isIslandSpan);Development
pnpm build # tsc → dist/ (.js, .d.ts, source maps)
pnpm test # Vitest
pnpm smoke:pack # build, pnpm pack, import the tarball with plain node