Skip to content

logview: add anchors for each line#80

Merged
kuba-moo merged 2 commits into
linux-netdev:mainfrom
matttbe:logview-line
Jul 22, 2026
Merged

logview: add anchors for each line#80
kuba-moo merged 2 commits into
linux-netdev:mainfrom
matttbe:logview-line

Conversation

@matttbe

@matttbe matttbe commented Jul 14, 2026

Copy link
Copy Markdown
Member

So we can easily point to a part of it.

When the user clicks on the page, the anchor is added in the URL, which can be easily copied.

@matttbe
matttbe requested a review from kuba-moo July 14, 2026 09:00
@kuba-moo

Copy link
Copy Markdown
Contributor

Does it change line spacing?

@matttbe

matttbe commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

Does it change line spacing?

No, the output is the same with and without the patch, from what I can see.

(maybe this could be extended later, e.g. to put a different background for the given line(s))

matttbe added 2 commits July 22, 2026 20:20
So we can easily point to a part of it.

When the user clicks on the page, the anchor is added in the URL, which
can be easily copied.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
Add a background colour to help seeing which one needs to be looked at.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
@matttbe

matttbe commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

(maybe this could be extended later, e.g. to put a different background for the given line(s))

I just added that, e.g.

image

@kuba-moo
kuba-moo merged commit 50d9606 into linux-netdev:main Jul 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants