feat(web): SSR nav brand/client embed and form markdown labels

Replace author theme.js with framework chrome (nav brand, theme boot,
client mount) plus bridge scroll/observe helpers; add form submit copy
and type=markdown textareas so sites can drop business JS.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-18 12:42:50 +08:00
1 parent aeac4d6d20
commit 98018fc63b
19 files changed
+777 -84

No files matched your search

+1 -1
View File
@@ -34,5 +34,5 @@ func markdownToHTML(md string) string {
if err := gm.Convert([]byte(md), &buf); err != nil {
return `<div class="article-body"><p class="article-p">` + esc(md) + `</p></div>`
}
return `<div class="article-body md">` + buf.String() + `</div>`
return `<div class="article-body md">` + tuneDropcapHTML(buf.String()) + `</div>`
}