Variable: markdown-marginalize-headers

markdown-marginalize-headers is a customizable variable defined in markdown-mode.el.

Value

nil

Documentation

When non-nil, put opening atx header markup in a left margin.

This setting goes well with markdown-asymmetric-header. But sadly it conflicts with linum-mode(var)/linum-mode(fun) since they both use the same margin.

This variable was added, or its default value changed, in markdown-mode version 2.4.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defcustom markdown-marginalize-headers nil
  "When non-nil, put opening atx header markup in a left margin.

This setting goes well with `markdown-asymmetric-header'.  But
sadly it conflicts with `linum-mode' since they both use the
same margin."
  :group 'markdown
  :type 'boolean
  :safe 'booleanp
  :package-version '(markdown-mode . "2.4"))