stagit

git clone https://git.tarina.org/stagit
Log | Files | Refs | README | LICENSE

commit 8d80f463aeaadb697916db092d4bb4cc6c461fdc
parent 037d2c70531b879ced2f013e3d75e95c1b29553b
Author: rob <rob@tarina.org>
Date:   Mon, 10 Jan 2022 00:23:38 +0200

no line nr, and pre that bends

Diffstat:
Mstagit.c | 4++--
Mstyle.css | 2++
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -548,9 +548,9 @@ writefooter(FILE *fp) size_t writeblobhtml(FILE *fp, const git_blob *blob) -{ +{p9 size_t n = 0, i, len, prev; - const char *nfmt = "<a href=\"#l%zu\" class=\"line\" id=\"l%zu\">%7zu</a> "; + const char *nfmt = ""; const char *s = git_blob_rawcontent(blob); len = git_blob_rawsize(blob); diff --git a/style.css b/style.css @@ -81,6 +81,8 @@ hr { pre { font-family: monospace; + white-space: pre-wrap; + word-break: keep-all; } pre a.h {