Function: markdown-ts-mode

markdown-ts-mode is an interactive and byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts-mode)

Documentation

Major mode for editing Markdown using tree-sitter grammar.

This is an experimental mode that has a number of unresolved issues, therefore Emacs does not yet enable it by default.

See also markdown-ts--set-up-inline.

In addition to any hooks its parent mode text-mode might have run, this mode runs the hook markdown-ts-mode-hook, as the final or penultimate step during initialization.

C-c C-, markdown-ts-insert-structure
C-c C-b outline-backward-same-level
C-c C-c markdown-ts-toggle-checkbox
C-c C-f outline-forward-same-level
C-c C-n outline-next-heading
C-c C-p outline-previous-heading
C-c C-r markdown-ts-renumber-list
C-c C-u outline-up-heading
C-c C-v n markdown-ts-move-to-next-code-block
C-c C-v p markdown-ts-move-to-previous-code-block
C-c C-x C-f markdown-ts-emphasize
C-c C-x C-v markdown-ts-toggle-inline-images
C-c C-x RET markdown-ts-toggle-hide-markup
M-<down> markdown-ts-move-subtree-down
M-<left> markdown-ts-promote
M-<right> markdown-ts-demote
M-<up> markdown-ts-move-subtree-up
M-RET markdown-ts-insert-list-item
RET markdown-ts-newline
TAB markdown-ts-outline-cycle

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(define-derived-mode markdown-ts-mode text-mode "Markdown"
  "Major mode for editing Markdown using tree-sitter grammar.
This is an experimental mode that has a number of unresolved issues,
therefore Emacs does not yet enable it by default.

See also `markdown-ts--set-up-inline'."
  (markdown-ts-mode--initialize))