Variable: markdown-ts-default-code-block-mode

markdown-ts-default-code-block-mode is a customizable variable defined in markdown-ts-mode.el.gz.

Value

text-mode

Documentation

Default mode for anonymous code blocks.

This variable was added, or its default value changed, in unknown version unknown.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defcustom markdown-ts-default-code-block-mode 'text-mode
  "Default mode for anonymous code blocks."
  :type '(choice
          (const  :tag "Text mode" text-mode)
          (const  :tag "Fundamental mode" fundamental-mode)
          (symbol :tag "Other mode symbol"
                  :validate (lambda (wid)
                              (let ((val (widget-value wid)))
                                (unless (and val (eq 'symbol (type-of val)))
                                  (widget-put wid :error "Must be a non-nil symbol")
                                  wid)))))
  :version "31.1"
  :package-version "1.0")