]> git.eshelyaron.com Git - emacs.git/commit
* lisp/textmodes/markdown-ts-mode.el: More ts-modes for code blocks.
authorJuri Linkov <juri@linkov.net>
Wed, 16 Apr 2025 18:45:40 +0000 (21:45 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 17 Apr 2025 07:09:45 +0000 (09:09 +0200)
commitcad2979258d243b3db2216d2404fa11fd200b541
tree82c76c133d1419b0c73a80408a46322c37cb2163
parentaec608f1c1242b86465c8fdd3306970f50cc0ffe
* lisp/textmodes/markdown-ts-mode.el: More ts-modes for code blocks.

(markdown-ts--code-block-language-map): Add more aliases.
(markdown-ts-code-block-source-mode-map): Add more mappings
for existing core ts-modes.
(markdown-ts--convert-code-block-language):
Check 'lang-string' with 'symbolp'.  Check 'mode' with 'fboundp'.

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