Emacs markdown-mode error on preview: “bin / bash: markdown: command not found”

后端 未结 5 1184
一向
一向 2021-01-31 15:09

I am using emacs 24 on fedora 17. I installed markdown-mode, but whenever I try to export a file by typing C-c C-c m or C-c C-c p in emacs

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-31 15:42

    You just need to pick and install a markdown parser:

    • rdiscount (gem install rdiscount).
    • python2-markdown (yum install python-markdown2)
    • or some other.

    Then, in emacs:

    M-x customize-mode RET markdown-mode
    

    Set 'Markdown Command' to the name of the executable you installed -- for example, rdiscount or /usr/bin/markdown2.

提交回复
热议问题