Repository navigation
ui: turn the live markdown preview off by default - #32469
Merged
Merged
Conversation
As discussed in ggml-org#31955, the live preview is now opt-in. With it on, the editor renders blocks as widgets, and moving the cursor down from the first line of a prompt with a few blocks (a heading, a list, a code block) jumps to the last line; with it off, the cursor moves one line at a time. Users with a saved config keep their current value, since the full config is stored in localStorage. The message input also gets spellcheck, autocorrect and autocapitalize back. CodeMirror turns them off by default, so they were off with the preview on or off; the former textarea and contenteditable inputs had the browser's defaults.
allozaur
approved these changes
Nov 17, 2026
gabe-l-hart
added a commit
to gabe-l-hart/llama.cpp
that referenced
this pull request
Nov 17, 2026
* origin/master: (138 commits) qwen4exp : fix graph reallocation from the n-gram table scale (ggml-org#32483) server : return 400 when grammar and ignore_eos are on (ggml-org#32377) ggml-cuda: disable quantized matvec fusion on all Pascal GPUs (ggml-org#32239) Title: CUDA: few-row MMQ for MUL_MAT_ID (ggml-org#32065) ui: turn the live markdown preview off by default (ggml-org#32469) CUDA: use block reductions for whole-row pool_1d (ggml-org#31855) ggml : decode F8_E4M3 to fp32 without ldexpf (ggml-org#32477) llama : keep the k-pool layout prefix on sequence edits (ggml-org#32137) vocab : speed up PLaMo-2/3 tokenizer table build (ggml-org#32249) convert : fix FP8 qwen4exp checkpoints (n-gram table scale, block-scaled FP8) (ggml-org#32476) ui: Llama UI design system: tokens, surfaces and fonts (ggml-org#32468) mtmd: support Minimax-Music3 (ggml-org#32435) chat: add tts_dict for kokoro G2P template (ggml-org#32397) Rotate K/V read order for better L2 cache hit rates (ggml-org#32407) ui: turn conversation tabs off by default (ggml-org#32402) ui: move Llama Chat to SvelteKit 3 and its built-in service worker (ggml-org#32463) qwen3next : apply output projection weight scale (ggml-org#32393) cuda : raise shared mem limit only for the launched kernel (ggml-org#32392) nix: expose a SYCL package (ggml-org#31066) vulkan: disable flip Flash Attention shader on AMD Windows due to a driver bug (ggml-org#32415) ...
Annieren
pushed a commit
to Annieren/llama.cpp-upstream
that referenced
this pull request
Nov 23, 2026
As discussed in ggml-org#31955, the live preview is now opt-in. With it on, the editor renders blocks as widgets, and moving the cursor down from the first line of a prompt with a few blocks (a heading, a list, a code block) jumps to the last line; with it off, the cursor moves one line at a time. Users with a saved config keep their current value, since the full config is stored in localStorage. The message input also gets spellcheck, autocorrect and autocapitalize back. CodeMirror turns them off by default, so they were off with the preview on or off; the former textarea and contenteditable inputs had the browser's defaults.
Nindaleth
pushed a commit
to Nindaleth/llama.cpp
that referenced
this pull request
Nov 26, 2026
As discussed in ggml-org#31955, the live preview is now opt-in. With it on, the editor renders blocks as widgets, and moving the cursor down from the first line of a prompt with a few blocks (a heading, a list, a code block) jumps to the last line; with it off, the cursor moves one line at a time. Users with a saved config keep their current value, since the full config is stored in localStorage. The message input also gets spellcheck, autocorrect and autocapitalize back. CodeMirror turns them off by default, so they were off with the preview on or off; the former textarea and contenteditable inputs had the browser's defaults.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Follow-up to #31955 -- as discussed there, the live markdown preview is now opt-in: "Live markdown preview in the message input" is off by default. Saved settings keep their value.
It also turns spellcheck, autocorrect and autocapitalize back on in the message input. The setting only turns off the preview -- the input is CodeMirror either way, and CodeMirror turns these off by default, since it's built for code.
Requirements