Function: markdown-toggle-fontify-code-blocks-natively

markdown-toggle-fontify-code-blocks-natively is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-toggle-fontify-code-blocks-natively &optional ARG)

Documentation

Toggle the native fontification of code blocks.

With a prefix argument ARG, enable if ARG is positive, and disable otherwise.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-toggle-fontify-code-blocks-natively (&optional arg)
  "Toggle the native fontification of code blocks.
With a prefix argument ARG, enable if ARG is positive,
and disable otherwise."
  (interactive (list (or current-prefix-arg 'toggle)))
  (setq markdown-fontify-code-blocks-natively
        (if (eq arg 'toggle)
            (not markdown-fontify-code-blocks-natively)
          (> (prefix-numeric-value arg) 0)))
  (when (called-interactively-p 'interactive)
    (message "markdown-mode native code block fontification %s"
             (if markdown-fontify-code-blocks-natively "enabled" "disabled")))
  (markdown-reload-extensions))