summaryrefslogtreecommitdiff
path: root/java/org/gnu
diff options
context:
space:
mode:
authorRahul Martim Juliato <rahul.juliato@gmail.com>2026-05-19 17:26:09 -0300
committerJoão Távora <joaotavora@gmail.com>2026-05-20 00:35:49 +0100
commitaad170d1edf70485995aafbabf4af6f4bcbca192 (patch)
treee950dff7cd555bb41c2e0d4991f45d4fa2ccfa52 /java/org/gnu
parent133d1d591cb930010d610a1948bc3bae995bb5cf (diff)
markdown-ts-mode: hide fence lines in view-mode (bug#81081)
* lisp/textmodes/markdown-ts-mode.el (markdown-ts--fontify-delimiter): When `markdown-ts-hide-markup' is enabled in `markdown-ts-view-mode', also hide the whole line containing a `fenced_code_block_delimiter' (including its terminating newline) so Eldoc/LSP markdown snippets render without stray blank lines around the code block. Scoped to view-mode and to fenced delimiters on purpose: the same handler is shared by inline delimiters (emphasis, code span, link brackets) where munching surrounding whitespace would collapse word separators, and tuning rendering for hide-markup-while-editing is not a goal.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions