vscode can preview svg's via plugins such as svg,
None of the svg extensions I've looked at export a public api¹ for other plugins to use
but perhaps they wouldn't be opposed to a patch which implements one.
Then we could generate an svg with railroad, and pass it off to the svg plugin.
This would probably be useful as a separate command line tool, so this should probably be done as a standalone crate.
but it seems fine to keep it within the workspace.
vscode can preview svg's via plugins such as svg, None of the svg extensions I've looked at export a public api¹ for other plugins to use
but perhaps they wouldn't be opposed to a patch which implements one.
Then we could generate an svg with railroad, and pass it off to the svg plugin. This would probably be useful as a separate command line tool, so this should probably be done as a standalone crate. but it seems fine to keep it within the workspace.