   (add-hook 'org-mode-hook
 	  (lambda ()
 	    (org-bullets-mode t))))
+
+(use-package pandoc-mode
+  :config
+  (add-hook 'markdown-mode-hook 'pandoc-mode)
+  (add-hook 'org-mode-hook 'pandoc-mode)
+  )
 
 (use-package powerline
   :config

    (let ((language (ring-ref my/languages-ring -1)))
      (ring-insert my/languages-ring language)
      (ispell-change-dictionary language)
      (setq flyspell-mode-line-string language)
      (force-mode-line-update)))
  (setq flyspell-mode-line-string (my/current-dictionary-mode-line ispell-dictionary)))


  :init (flycheck-status-emoji-mode)) ;; Warning, on macOS, requires `(set-fontset-font t 'symbol (font-spec :family "Apple Color Emoji"))`

(use-package flyspell
  :bind ( ("C-c s s" . flyspell-mode)
          ("C-c s S" . flyspell-prog-mode)
          ("C-c s d" . my/cycle-ispell-languages))
  :hook ( (text-mode . flyspell-mode))
          ;; (prog-mode . flyspell-prog-mode)
  :config
  ;; Remap flyspell mouse buttons
  (define-key flyspell-mouse-map [down-mouse-3] #'flyspell-correct-word)
  (define-key flyspell-mouse-map [mouse-3] #'undefined)
  (define-key flyspell-mouse-map [down-mouse-2] nil)
  (define-key flyspell-mouse-map [mouse-2] nil)

  ;; Make sure DICPATH environment variables is there
  (setenv "DICPATH" (concat (getenv "HOME") "/Library/Spelling"))

