Function: markdown-ts--code-block-fill-paragraph

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

Signature

(markdown-ts--code-block-fill-paragraph &optional JUSTIFY)

Documentation

Refill or reindent the markdown content that contains point.

If the point is in a string or a comment, fill the paragraph that contains point or follows point.

Otherwise, reindent the function definition that contains point or follows point.

If JUSTIFY is non-nil (interactively, with prefix argument), justify as well.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--code-block-fill-paragraph (&optional justify)
  "Refill or reindent the markdown content that contains point.
If the point is in a string or a comment, fill the paragraph that
contains point or follows point.

Otherwise, reindent the function definition that contains point or
follows point.

If JUSTIFY is non-nil (interactively, with prefix argument), justify as
well."
  (interactive "P")
  (cond ((derived-mode-p 'prog-mode)
         (call-interactively #'prog-fill-reindent-defun justify))
        (t
         (call-interactively #'fill-paragraph justify))))