help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get markdown preview mode working on Linux?


From: David M. Karr
Subject: Re: How to get markdown preview mode working on Linux?
Date: Thu, 19 May 2016 11:11:43 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 05/19/2016 11:03 AM, Kaushal Modi wrote:
On Thu, May 19, 2016 at 1:57 PM David M. Karr <davidmichaelkarr@gmail.com <mailto:davidmichaelkarr@gmail.com>> wrote:

    -----------------
      /usr/bin/bash: markdown: command not found
    -----------------


Well, I have the markdown binary preinstalled on my system in /usr/bin/markdown.

Would do you get when you do "which markdown" in your terminal? .. Looks like you do not have that binary preinstalled.

I suppose I thought it was obvious that I don't have a "markdown" executable. I should have been more explicit about that.

In that case, download the Markdown source script from http://daringfireball.net/projects/markdown/, extract the .pl from that and place it in one of the folders in the environment PATH variable. Or add that dir to the PATH var and restart emacs.

It's funny that none of the markdown preview docs even mentions this. Does everyone assume this is always there?

I have the following in my config.

    (when (executable-find "Markdown.pl")
      (setq markdown-command "Markdown.pl"))
If everything went fine, you should see "Markdown.pl" when you do C-h v markdown-command.

Yup, that worked fine, thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]