Commits at 83690d4f79046e618d4c47e08368848cc66339b2
784362b7Display message if no README found
The info log is completely useless, as it's repo owner's fault for not
having README, instead of site admin's. I configured this in the
template so users (site admins) can customize their own view.
Shota FUJI
authored at
Shota FUJI
comitted at
2b352672Fix weird URL search parameter handling (raw=true)
A query component in URL does not have to be "key=value". In fact,
browsers interpret that as a URLSearchParams, a list of "key" or
"key=value" allowing a same key appearing multiple times. You don't have
to set "true" or "false": simply set the key or remove the one.
Shota FUJI
authored at
Shota FUJI
comitted at
09c5f871Display checked-in image in Markdown preview
Co-authored-by: Anthony Wang <a@unnamed.website>
Shota FUJI
authored at
Shota FUJI
comitted at
d3443fb7Add "gopls" to "nix develop" packages
To stop requiring devs to install gopls globally.
Shota FUJI
authored at
Shota FUJI
comitted at
66fa2bb5Add link for raw version of file
The original patch also contains support for image display in READMEs.
I (committer) removed the latter for brevity and revert-ability.
Anthony Wang
authored at
Shota FUJI
comitted at
f72154deFix binary file not available even with "raw" URL parameter
This is critical for displaying images in README files.
Shota FUJI
authored at
Shota FUJI
comitted at
07103b7dSetup "nix fmt"
There was no way to call dprint (except "nix-shell" and global mutation)
Shota FUJI
authored at
Shota FUJI
comitted at
fab9af91Upgrade nixpkgs
The dprint CLI was too old a JSON dprint plugin denied to run.
Shota FUJI
authored at
Shota FUJI
comitted at
4efb241dFix blob page code block slightly overflows vertically
That makes unpleasant UX, such as almost-full scrollbars and requiring
two-fingers swipe twice (one for scroll `<pre>` and second for the page)
Shota FUJI
authored at
Shota FUJI
comitted at
5e20b033HTML preview for Markdown
While Markdown is relatively readable format, syntax highlighted
monospace font is not easy to read compared to well-spaced sans-serif.
Shota FUJI
authored at
Shota FUJI
comitted at
d38d10b2Increase top padding on 3-column layout
I don't know why, but it was uncomfortable to read texts at the very
near the top of a content area.
Shota FUJI
authored at
Shota FUJI
comitted at
291d38c0Add more spaces to Markdown headings
Those were so packed and hard to read.
Shota FUJI
authored at
Shota FUJI
comitted at
44c4ba1fDisplay datetime in user's time zone by using JavaScript
Everytime I see datetime text with time zone I'm not familiar with, I
struggle to calculate from my local time zone. There are situations
where author's/committer's local time zone matters, (e.g. did they write
this patch in night?) I kept the original datetime in "title" attribute
(tooltip). Browsers' handling of "title" attribute is bad, but it's
better than nothing.
Shota FUJI
authored at
Shota FUJI
comitted at
5e6eb22bFix blob line number slightly enlarges on Android Chrome
When a file's line count exceeds certain amount (probably 130 or so?)
the line number rows slightly increases its vertical size and causes
misalign to a text line on its right.
This happens on Samsung Galaxy Tab S9 FE (Android 14), and does not
happen on Motorola Razr 40 Ultra (Android 15).
I still don't know which factor plays, but this patch fixes the bug.
Shota FUJI
authored at
Shota FUJI
comitted at
31530491Resolve paths from config file, not cwd
I was surprised during writing "demo/config.yaml".
Shota FUJI
authored at
Shota FUJI
comitted at
b8430efeChange syntaxHighlight option from string to boolean
Since replacing templates, syntax highlighting no longer uses supplied
style.
Shota FUJI
authored at
Shota FUJI
comitted at
6fbc5cd1Add documentation comment for sample config.yaml
This is handy. I'm not sure I'll create a reference doc for
configurations.
Shota FUJI
authored at
Shota FUJI
comitted at
41a17d94Set default tab width for <body>
I'm going to make tab width user selectable. This is both as a temporary
solution and as a default value.
Shota FUJI
authored at
Shota FUJI
comitted at