(use-package smartparens-config
  :commands smartparens-mode
  :init
  (add-to-hooks 'smartparens-mode '(prog-mode-hook
                                    erlang-mode-hook
                                    )))

(use-package smartparens-config
  :commands smartparens-mode
  :init
  (add-to-hooks 'smartparens-mode '(erlang-mode-hook
                                    markdown-mode-hook
                                    prog-mode-hook
                                    )))

Add smartparens to markdown mode hook
Add smartparens to markdown mode hook

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs