Function: markdown-ts-move-to-previous-code-block

markdown-ts-move-to-previous-code-block is an interactive and byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts-move-to-previous-code-block ARG)

Documentation

Move point to the start of the previous code block.

With the prefix argument ARG, remain within the current code block.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts-move-to-previous-code-block (arg)
  "Move point to the start of the previous code block.
With the prefix argument ARG, remain within the current code block."
  (interactive "P")
  (when-let* ((node
               (markdown-ts--find-next-code-block-delimiter nil 'backward arg)))
    (goto-char (treesit-node-start node))))