Function rustdoc::markdown::render

source ·
pub(crate) fn render<P: AsRef<Path>>(
    input: P,
    options: RenderOptions,
    edition: Edition,
) -> Result<(), String>
Expand description

Render input (e.g., “foo.md”) into an HTML file in output (e.g., output = “bar” => “bar/foo.html”).

Requires session globals to be available, for symbol interning.