rust-dev-tools / cargo-src

Semantic code navigation for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Render markdown docs

eira-fransham opened this issue · comments

So I think it'd be cool to show the documentation rendered by default with the option to show it as it appears in the source code. Combined with #245 you could make reading a source file with cargo src as nice as reading rustdoc output, with the added ability to seamlessly show and navigate the source code.

I think this would be nice, we'd just have to be careful to keep line numbers accurate.

We can just store the line number on the line object

Duplicate of #229 ?