Patrick Elsen

Results 79 issues of 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...

C-enhancement

See: ![Screenshot From 2024-10-31 00-24-59](https://github.com/user-attachments/assets/82abc1dd-0490-42e9-b0f5-7edf5d0343d7) 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.

enhancement
help wanted

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...

enhancement

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,...

enhancement
help wanted

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.

enhancement

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...