Function: markdown-ts-code-block-in-context-mode

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

Signature

(markdown-ts-code-block-in-context-mode &optional ARG)

Documentation

Minor mode enabled if point is within a fenced code block.

This enables the keymap markdown-ts-code-block-in-context-mode-map.

This is a minor mode. If called interactively, toggle the Markdown-Ts-Code-Block-In-Context mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate the variable markdown-ts-code-block-in-context-mode(var)/markdown-ts-code-block-in-context-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(define-minor-mode markdown-ts-code-block-in-context-mode
  "Minor mode enabled if point is within a fenced code block.
This enables the keymap `markdown-ts-code-block-in-context-mode-map'."
  :group 'markdown-ts
  :lighter markdown-ts-code-block-in-context-mode-lighter
  :interactive nil
  (markdown-ts--code-block-in-context-mode-update-ov))