Function: markdown-ts-at-code-block-p

markdown-ts-at-code-block-p is a byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts-at-code-block-p &optional POS)

Documentation

Return non nil if point is in a code block.

If POS is nil, use point.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts-at-code-block-p (&optional pos)
  "Return non nil if point is in a code block.
If POS is nil, use point."
  (cl-some (lambda (ov) (overlay-get ov 'markdown-ts-code-block))
           (overlays-at (or pos (point)))))