Getting Started
This section helps you add Graphviz support for Rspress.
Install
Setup
Register the plugin in your Rspress config.
Usage
Use the viz language block in your Markdown files.
This will be rendered as:
Loading graph...
Usage notes:
- Optional scaling: add a scale factor after the language name, e.g.
{0.75}.
Rendered result:
Loading graph...
Advanced Configuration
viz accepts the following options:
Acknowledgments
- vitepress-plugin-viz - Original VitePress plugin that this Rspress plugin ports.
- @viz-js/viz - Graphviz rendering in WebAssembly.