From 2551540e9951c7b50da6083ae5233b84ee569140 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Wed, 20 Nov 2024 16:05:28 -0700 Subject: [PATCH] web/timeline: highlight inline code (#524) --- pkg/hicli/html.go | 2 ++ pkg/hicli/sync.go | 2 +- web/src/index.css | 4 ++++ web/src/ui/timeline/content/index.css | 6 ++++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/pkg/hicli/html.go b/pkg/hicli/html.go index 8eaedb1..f154a62 100644 --- a/pkg/hicli/html.go +++ b/pkg/hicli/html.go @@ -560,6 +560,8 @@ Loop: } else { writeSpan(&built, token.Attr) } + case atom.Code: + built.WriteString(`