@owomark/view
v0.1.8
Published
Rendering engine, preview engine, DOM view layer, and official base theme for OwoMark.
Maintainers
Readme
@owomark/view
Browser-only view infrastructure for OwoMark. This package owns the editor view, preview engine, DOM patching, layout logic, and official theme token values.
Install
npm install @owomark/viewScope
createOwoMarkView()for interactive editingcreateOwoMarkPreviewEngine()and renderer registry APIs for preview DOM renderingPreviewDomPatcherandSideAnnotationPositionerfor browser layout workgetThemeClassName(),light.css,dark.css,owomark.css,preview.css,slash-menu.css,side-annotation.css
Not in this package
Static Markdown and MDX processing no longer lives in @owomark/view.
Use @owomark/processor for:
createOwoMarkProcessor()getOwoMarkPlugins()DEFAULT_MDX_COMPONENTS@owomark/processor/mdx-components.css
CSS
@owomark/view/style.css now aggregates only browser-side view CSS and theme presets. MDX component CSS is intentionally excluded and must be imported from @owomark/processor.
