]> git.eshelyaron.com Git - emacs.git/commit
* lisp/textmodes/markdown-ts-mode.el: Improve.
authorJuri Linkov <juri@linkov.net>
Sun, 4 May 2025 17:03:32 +0000 (20:03 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:49:40 +0000 (10:49 +0200)
commit4e38fecc45bc049068b1be2793cd7ad67f809365
treedaa5fc877edd8c61daac137bb1bb5eb01fb67646
parenta3b54b4f06a7e9e127e86ce2bc90c4b3a54a6d30
* lisp/textmodes/markdown-ts-mode.el: Improve.

(markdown-ts-list-marker): Inherit from 'shadow' like in non-ts mode.
(markdown-ts-block-quote): Inherit from 'italic' like in non-ts mode.
(markdown-ts--treesit-settings): Use 'shadow' for parens in
'markdown-inline' only under 'inline_link' and 'image'.
Use @markdown-ts-block-quote for 'block_quote'.
Override with 'append' for links.
(markdown-ts--range-settings): Use global html parser for 'html_tag'
since its ranges are interconnected.
(markdown-ts-setup): Create the 'html' parser.

(cherry picked from commit 9e75d1815125178b4b8584faa02569d6b84fc0b5)
lisp/textmodes/markdown-ts-mode.el