Variable: markdown-hide-markup
markdown-hide-markup is a customizable and buffer-local variable
defined in markdown-mode.el.
Documentation
Determines whether markup in the buffer will be hidden.
When set to nil, all markup is displayed in the buffer as it
appears in the file. An exception is when markdown-hide-urls
is non-nil.
Set this to a non-nil value to turn this feature on by default.
You can interactively toggle the value of this variable with
markdown-toggle-markup-hiding, M-x markdown-toggle-markup-hiding (markdown-toggle-markup-hiding),
or from the Markdown > Show & Hide menu.
Markup hiding works by adding text properties to positions in the
buffer---either the invisible property or the display property
in cases where alternative glyphs are used (e.g., list bullets).
This does not, however, affect printing or other output.
Functions such as htmlfontify-buffer and ps-print-buffer will
not honor these text properties. For printing, it would be better
to first convert to HTML or PDF (e.g,. using Pandoc).
This variable was added, or its default value changed, in markdown-mode version 2.3.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defcustom markdown-hide-markup nil
"Determines whether markup in the buffer will be hidden.
When set to nil, all markup is displayed in the buffer as it
appears in the file. An exception is when `markdown-hide-urls'
is non-nil.
Set this to a non-nil value to turn this feature on by default.
You can interactively toggle the value of this variable with
`markdown-toggle-markup-hiding', \\[markdown-toggle-markup-hiding],
or from the Markdown > Show & Hide menu.
Markup hiding works by adding text properties to positions in the
buffer---either the `invisible' property or the `display' property
in cases where alternative glyphs are used (e.g., list bullets).
This does not, however, affect printing or other output.
Functions such as `htmlfontify-buffer' and `ps-print-buffer' will
not honor these text properties. For printing, it would be better
to first convert to HTML or PDF (e.g,. using Pandoc)."
:group 'markdown
:type 'boolean
:safe 'booleanp
:package-version '(markdown-mode . "2.3"))