胡翀 and zzxzz12345
4e5dbc8e0c
feat(markdown): render LaTeX math with KaTeX ( #4138 )
...
Markdown views (file preview, agent chat, notebook Markdown cells, LSP/GitHub/plugin Markdown) now typeset $...$, $$...$$, \(...\), \[...\] and ```math blocks with KaTeX. The marked extension emits [data-math] placeholders that survive DOMPurify and are typeset after sanitizing (trust: false); inline $ follows Pandoc's rules, so currency like $5 and $10 stays text. The Markdown preview keeps the placeholders in its rendered HTML and typesets them after each render, like Mermaid diagrams, so its per-block sanitize cache is unaffected.
New dependency: katex 0.19.1 (MIT).
Co-authored-by: zzxzz12345 <8338183+zzxzz12345@users.noreply.github.com >
2026-11-18 18:36:43 +08:00
..
2026-11-16 17:51:05 +08:00
2026-11-15 04:05:07 +08:00
2026-11-17 02:40:13 +08:00
2026-11-14 16:08:25 +08:00
2026-11-18 18:32:14 +08:00
2026-11-18 18:36:43 +08:00
2026-11-17 14:15:40 +08:00
2026-11-17 23:19:50 +08:00
2026-11-15 21:55:09 +08:00
2026-11-17 14:55:43 +08:00
2026-11-14 21:13:23 +08:00
2026-11-16 20:28:47 +08:00
2026-11-09 19:23:05 +08:00
2026-11-14 19:24:54 +08:00
2026-11-13 23:33:16 +08:00
2026-11-13 11:21:04 +08:00
2026-11-17 14:57:12 +08:00
2026-11-13 10:54:03 +08:00
2026-11-11 20:38:27 +08:00
2026-11-11 00:12:24 +08:00
2026-11-17 09:57:58 +08:00
2026-11-12 18:24:19 +08:00
2026-11-10 03:25:53 +08:00
2026-11-11 14:43:59 +08:00
2026-11-09 15:20:49 +08:00
2026-11-14 15:10:35 +08:00
2026-11-13 16:58:16 +08:00
2026-11-10 05:22:56 +08:00
2026-11-13 16:57:45 +08:00
2026-11-14 03:11:39 +08:00
2026-11-13 09:23:52 +08:00
2026-11-13 19:05:47 +08:00
2026-11-10 03:25:21 +08:00
2026-11-10 23:16:32 +08:00
2026-11-10 23:16:32 +08:00
2026-11-10 23:16:32 +08:00
2026-11-10 03:23:27 +08:00
2026-11-10 03:00:15 +08:00
2026-11-13 19:04:56 +08:00
2026-11-09 17:03:21 +08:00
2026-11-17 16:34:33 +08:00
2026-11-18 10:21:46 +08:00
2026-11-10 09:20:33 +08:00
2026-11-17 21:30:26 +08:00
2026-11-17 00:03:26 +08:00
2026-11-17 03:46:36 +08:00
2026-11-12 05:01:51 +08:00
2026-11-16 14:25:44 +08:00
2026-11-13 23:32:30 +08:00
2026-11-08 22:28:20 +08:00
2026-11-08 22:28:20 +08:00
2026-11-08 22:28:20 +08:00
2026-11-12 19:13:31 +08:00
2026-11-09 01:05:45 +08:00
2026-11-13 03:33:18 +08:00
2026-11-16 10:59:48 +08:00
2026-11-16 10:59:48 +08:00
2026-11-16 10:59:48 +08:00
2026-11-17 23:22:56 +08:00
2026-11-08 21:56:26 +08:00
2026-11-08 21:56:26 +08:00
2026-11-08 21:56:26 +08:00
2026-11-10 23:44:09 +08:00
2026-11-14 22:53:04 +08:00
2026-11-11 00:31:43 +08:00
2026-11-09 20:22:12 +08:00
2026-11-15 10:31:42 +08:00
2026-11-15 10:31:42 +08:00
2026-11-14 22:07:27 +08:00
2026-11-12 05:01:51 +08:00
2026-11-11 07:07:40 +08:00
2026-11-13 08:56:17 +08:00
2026-11-17 23:22:56 +08:00
2026-11-10 04:27:36 +08:00
2026-11-10 23:41:15 +08:00
2026-11-10 03:46:22 +08:00
2026-11-14 21:10:05 +08:00
2026-11-11 09:39:59 +08:00
2026-11-18 10:58:26 +08:00
2026-11-11 21:28:41 +08:00
2026-11-14 21:10:05 +08:00
2026-11-10 03:46:22 +08:00
2026-11-14 21:10:05 +08:00
2026-11-12 23:06:10 +08:00
2026-11-17 01:44:40 +08:00
2026-11-18 18:32:14 +08:00
2026-11-16 23:50:34 +08:00
2026-11-16 17:53:28 +08:00
2026-11-10 23:41:22 +08:00
2026-11-12 22:42:10 +08:00
2026-11-15 17:23:13 +08:00
2026-11-11 00:06:59 +08:00
2026-11-12 03:05:08 +08:00
2026-11-10 23:41:06 +08:00
2026-11-10 00:16:38 +08:00
2026-11-11 20:54:16 +08:00