feat: more BBCode tags, basic Markdown and an opt-in for chat images

Chat now renders [size], [left]/[center]/[right], [list]/[*], [hr] and
[noparse] plus the Markdown TS6 sends (emphasis, code, links, images,
quotes, lists, headings, rules, escapes). [img] stays a link unless
"Load images in chat" is enabled in Options -> Application (off by
default, since loading reveals the reader's IP to the image host).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-10-04 11:09:05 +00:00
1 parent 839e26e4a3
commit ef0e3fad7d
7 files changed
+305 -50

No files matched your search

+44
View File
@@ -2457,6 +2457,50 @@
text-decoration: underline;
}
.ts-chat-bubble code {
font-family: ui-monospace, monospace;
font-size: 0.95em;
padding: 0 0.25em;
border: 1px solid var(--border-soft);
border-radius: 3px;
}
.ts-bb-list {
margin: 0.15em 0;
padding-left: 1.6em;
}
.ts-bb-quote {
margin: 0.15em 0;
padding-left: 0.6em;
border-left: 3px solid var(--border-soft);
}
.ts-bb-hr {
border: 0;
border-top: 1px solid var(--border-soft);
margin: 0.3em 0;
}
.ts-bb-h {
font-weight: bold;
font-size: 1.1em;
}
.ts-bb-h1 {
font-size: 1.4em;
}
.ts-bb-h2 {
font-size: 1.2em;
}
.ts-bb-img {
max-width: 100%;
max-height: 240px;
vertical-align: middle;
}
.ts-chat-from {
font-weight: 600;
color: var(--accent);