Variable: gfm-view-mode-hook
gfm-view-mode-hook is a variable defined in markdown-mode.el.
Value
nil
Documentation
Hook run after entering GFM-View mode.
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
;;;###autoload
(define-derived-mode gfm-view-mode gfm-mode "GFM-View"
"Major mode for viewing GitHub Flavored Markdown content."
(setq-local markdown-hide-markup markdown-hide-markup-in-view-modes)
(setq-local markdown-fontify-code-blocks-natively t)
(setq-local filter-buffer-substring-function #'markdown--filter-visible)
(add-to-invisibility-spec 'markdown-markup)
(read-only-mode 1))