Function: markdown-ts--block-quote-prefix

markdown-ts--block-quote-prefix is a byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts--block-quote-prefix)

Documentation

Return the block quote prefix string from the current line.

Read the actual > markers (with whatever spacing the user wrote) from the beginning of the line so that fill preserves the existing
style (e.g., >>> stays >>> , > > > stays > > > ).

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--block-quote-prefix ()
  "Return the block quote prefix string from the current line.
Read the actual `>' markers (with whatever spacing the user wrote)
from the beginning of the line so that fill preserves the existing
style (e.g., `>>> ' stays `>>> ', `> > > ' stays `> > > ')."
  (save-excursion
    (beginning-of-line)
    (if (looking-at "\\([> \t]*>\\)[ \t]*")
        (concat (match-string 0))
      "> ")))