Source view: add line number and per-line anchor
Open
Nobody has claimed this yet.
C-enhancement
help-wanted
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 232
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 60
Description
It would be useful for the source view to show line numbers that can also be used as link targets, similar to what the typical source view of rustdoc/GitLab/GitHub does.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the docs.rs source-view implementation and reviewing how source lines are rendered. Implement visible line numbers with per-line link targets, following the behavior described for rustdoc, GitLab, and GitHub. Done means source-view lines can be addressed directly by links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100