markdown-mode.el安装方法

Make sure to place markdown-mode.el somewhere in the load-path and add the following lines to your .emacs file to associate markdown-mode with .text files:


(autoload 'markdown-mode "markdown-mode.el" "Major mode for editing Markdown files" t) 

(setq auto-mode-alist (cons '("\\.text" . markdown-mode) auto-mode-alist))


There is no consensus on an official file extension so change .text to .mdwn, .md, .mdt, or whatever you call your markdown files.

你可能感兴趣的:(其它)