Variable: htmlize-html-major-mode

htmlize-html-major-mode is a customizable variable defined in htmlize.el.

Value

nil

Documentation

The mode the newly created HTML buffer will be put in.

Set this to nil if you prefer the default (fundamental) mode.

Source Code

;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
(defcustom htmlize-html-major-mode nil
  "The mode the newly created HTML buffer will be put in.
Set this to nil if you prefer the default (fundamental) mode."
  :type '(radio (const :tag "No mode (fundamental)" nil)
                (function-item html-mode)
                (function :tag "User-defined major mode"))
  :group 'htmlize)