I'd like to hide the markup in my Markdown buffers. I can do that manually using markdown-toggle-markup-hiding. However I'd like to configure this once and for all in my init.el so that I don't have to do this manually every time.
I tried setting markdown-hide-markup to 1, but it doesn't work. I believe I'm missing something here in my use-package configuration.
If anyone knows a fix, can you let me know?
Here are the things I've tried that do not work.
;; Markdown Mode (use-package markdown-mode :ensure t :init (setq markdown-asymmetric-header t markdown-hide-markup 1) :config (add-hook 'markdown-mode-hook '(lambda () (setq markdown-hide-markup t) (visual-line-mode) )) (progn (with-eval-after-load 'markdown (markdown-toggle-markup-hiding))))