Patrick Elsen
Patrick Elsen
### Problem Currently, the version of highlight.js shipped with mdBook does not support syntax highlighting Dockerfiles. ### Proposed Solution Add `dockerfile` to the list of default highlight.js languages ### Notes...
See:  I think we should add the CSS property that will make them show as `v0.1.0-as...` (with the dots), and a hover component that shows the...
Could use the [rexie](https://docs.rs/rexie/0.6.2/rexie/) crate to accomplish this.
We should handle some file types specially: - If you look at a Markdown file, you should be able to render it as an actual markdown file (we could still...
Currently, the button sais "Show lines *x* to *y*". I think it would be simpler it if simply said "Expand *n* lines". You can still see from the surrounding line...
On the summary page, when you click on one of the crates, it doesn't take you to the specific version mentioned on the page, but to `diff.rs/cratename`. I think this...
This changes the wording of the expand button to "Expand {n} hidden lines". Not sure if this is an improvement.
I think we can show some more metadata in the search results to be able to more easily filter them. Currently, we display a little square with the crate name,...
Something like: - `https://diff.rs/view/serde/1.0.100/files/src/main.rs#L66` - `https://diff.rs/view/serde/1.0.100/files/src/main.rs#fn:main` Allows for creating permalink to functions/lines for viewing crates.
As explained in this article: [Jia Tanning Go Code](https://www.arp242.net/jia-tan-go.html), it is possible to put weird characters in file and directory names. That's not a good thing. Some things we can...