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

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

preview in markdown-mode suddenly stopped working


From: Vineet Naik
Subject: preview in markdown-mode suddenly stopped working
Date: Fri, 2 Sep 2011 10:43:16 +0530

Hello, 

A few days back I had configured markdown-mode (http://jblevins.org/projects/markdown-mode/) in emacs 23 on ubuntu 10.04 desktop. Everything was working fine initially but suddenly markdown preview has stopped functioning properly. 

Upon preview, now it shows markdown usage in the browser. Following is the output - 

  Usage: markdown INPUTFILE [options] Options: -h, --help show this help message and exit -f OUTPUT_FILE, --file=OUTPUT_FILE write output to OUTPUT_FILE -e ENCODING, --encoding=ENCODING encoding for input and output files -q, --quiet suppress all messages -v, --verbose print info messages -s SAFE_MODE, --safe=SAFE_MODE safe mode ('replace', 'remove' or 'escape' user's HTML tag) -o OUTPUT_FORMAT, --output_format=OUTPUT_FORMAT Format of output. One of 'xhtml1' (default) or 'html4'. --noisy print debug messages -x EXTENSION, --extension=EXTENSION load extension EXTENSION    

I have followed the installation instructions on the markdown-mode page. My .emacs file contains - 

(autoload 'markdown-mode "markdown-mode.el"
   "Major mode for editing Markdown files" t)
(setq auto-mode-alist
   (cons '("\\.md" . markdown-mode) auto-mode-alist))

Converting markdown to html from command line works fine.

Thanks for any help. 

--
Vineet Naik

reply via email to

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