1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/textmodes
Yuan Fu 6f1e317764
Expand markdown-ts-mode and add code block support for javascript
- Define new faces and use them in place of font-lock faces
- Add more fontification, add a new feature for headings.
- Remove fontification for code blocks, so embedeed parser can
  fontify them
- Add experimental code block support for javascript by using
  tree-sitter setup from js-ts-mode.
- Correctly setup markdown_inline with range settings.

* lisp/textmodes/markdown-ts-mode.el:
(markdown-ts--code-block-language-map):
(markdown-ts-code-block-source-mode-map): New variables.
(markdown-ts-faces): New group.
(markdown-ts-delimiter):
(markdown-ts-heading-1):
(markdown-ts-setext-heading):
(markdown-ts-heading-2):
(markdown-ts-heading-3):
(markdown-ts-heading-4):
(markdown-ts-heading-5):
(markdown-ts-heading-6):
(markdown-ts-list-marker):
(markdown-ts-block-quote):
(markdown-ts-language-keyword): New faces.
(markdown-ts--treesit-settings):
(markdown-ts--configured-languages): New variables.
(markdown-ts--harvest-treesit-configs):
(markdown-ts--add-config-for-mode):
(markdown-ts--convert-code-block-language): New functions.
(markdown-ts--range-settings): New variable.
(markdown-ts-setup): Setup range configuration.
(markdown-ts-mode): Add heading feature.
2025-04-15 16:14:01 -07:00
..
artist.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bib-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bibtex-style.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bibtex.el ; Fix typos 2025-02-22 14:48:29 +01:00
conf-mode.el Add major mode for highlighting npmrc files (Bug#77138) 2025-03-29 13:19:04 +03:00
css-mode.el Add block-comment-start and block-comment-end to supported modes 2025-04-13 11:12:59 +03:00
dns-mode.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
emacs-authors-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs-news-mode.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
enriched.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
fill.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
flyspell.el Make turn-on-flyspell/turn-off-flyspell obsolete 2025-03-14 19:50:22 +01:00
glyphless-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
html-ts-mode.el New command 'treesit-toggle-sexp-mode' (bug#76676). 2025-04-09 21:21:53 +03:00
ispell.el Use defvar-keymap for some trivial keymaps 2025-03-16 13:48:11 +01:00
less-css-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
makeinfo.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
markdown-ts-mode.el Expand markdown-ts-mode and add code block support for javascript 2025-04-15 16:14:01 -07:00
mhtml-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mhtml-ts-mode.el New function treesit-parsers-at for treesit-language-at (bug#77256). 2025-04-08 20:40:10 +03:00
nroff-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
page-ext.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
page.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
paragraphs.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
picture.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pixel-fill.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
po.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refbib.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
refer.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
refill.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-auc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
reftex-cite.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-dcr.el Prefer incf to cl-incf in textmodes/*.el 2025-02-24 19:27:47 +01:00
reftex-global.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-index.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-parse.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-ref.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-sel.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-toc.el Add RefTeX support for non-file buffers 2025-04-04 14:37:33 -04:00
reftex-vars.el Remove support for supertabular from RefTeX 2025-01-08 20:47:43 +01:00
reftex.el Handle TeX-master holding a buffer 2025-04-04 16:17:36 -04:00
remember.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
rst.el Merge from origin/emacs-30 2025-03-30 16:17:00 +02:00
sgml-mode.el Add block-comment-start and block-comment-end to supported modes 2025-04-13 11:12:59 +03:00
string-edit.el Document return values of the various read-* functions 2025-03-09 15:02:39 +02:00
table.el Recommend using 'keymap-set' in Commentaries 2025-03-15 04:10:27 +01:00
tex-mode.el Extend prettify-symbols-alist in TeX mode 2025-04-05 12:21:29 +03:00
texinfmt.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
texinfo.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
texnfo-upd.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
text-mode.el Improve conversion between half-width and full-width characters 2025-03-15 13:58:44 +02:00
tildify.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
toml-ts-mode.el Improve treesit settings for {json,html,toml,yaml}-ts-mode (bug#73404) 2025-02-09 19:54:02 +02:00
two-column.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
underline.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
word-wrap-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
yaml-ts-mode.el Improve treesit settings for js-ts-mode (bug#73404) 2025-03-03 20:38:40 +02:00