The primary goal of see (smd before v0.4.0) was to create a unified tool for viewing both CLI documentation in Markdown and code files, renderable in both the terminal and web browse
It would indeed be nice to be able to call this crate as a library from a Rust host to be able to render any files in HTML with syntax highlighting etc.
Is it possible that you could factor out the common parts into a lib crate, so that it can be used by a Rust host for rendering to HTML? 😊
I'm asking because I have a use case where I want to do this, and it seems this crate is the closest approximation to do this, but it doesn't support rendering to HTML yet, even though the underlying inkjet crate does.
In the Readme it says:
It would indeed be nice to be able to call this crate as a library from a Rust host to be able to render any files in HTML with syntax highlighting etc. Is it possible that you could factor out the common parts into a lib crate, so that it can be used by a Rust host for rendering to HTML? 😊
I'm asking because I have a use case where I want to do this, and it seems this crate is the closest approximation to do this, but it doesn't support rendering to HTML yet, even though the underlying
inkjet
crate does.