authorgravatar for 63465728+alichraghi@users.noreply.github.comAli Chraghi <63465728+alichraghi@users.noreply.github.com> 2022-09-02 19:11:34+04:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2022-09-02 19:11:34+04:30
log30e85c9c805897fe445d4a0fe09aaf90955fef34
treeb41b3b635d63374b46fa2fe432c6fb8460d08165
parentf7784a081fb399025b579ee7e1337a414af16d49
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

autodoc: highlight target line


1 files changed, 10 insertions(+), 0 deletions(-)

src/autodoc/render_source.zig+10
......@@ -79,6 +79,16 @@ pub fn genHtml(
7979 \\ text-align: right;
8080 \\ color: #999;
8181 \\ }
82 \\
83 \\ .line {
84 \\ width: 100%;
85 \\ display: inline-block;
86 \\ }
87 \\ .line:target {
88 \\ border-top: 1px solid #444;
89 \\ border-bottom: 1px solid #444;
90 \\ background: #333;
91 \\ }
8292 \\
8393 \\ @media (prefers-color-scheme: dark) {
8494 \\ body{