Using markdown is little bit difficult. For easy use and future reference, I am writing this article.
1. Visit below site and look around and get some useful tips.
http://www.emacswiki.org/emacs/MarkdownMode
2. emacs markdown mode is now currently managed on below site. Visit and download markdown-mode.el
http://jblevins.org/projects/markdown-mode/
And place markdown-mode.el to ~/.emacs.d/lisp, if this directory doesn't exists, create it.
3. open ~/.emacs file and add following lines to the end of file or somewhere you want to like below.
;;; Set location for external packages. (add-to-list 'load-path "~/.emacs.d/lisp/") ;;; Load markdown (autoload 'markdown-mode "markdown-mode" "Major mode for editing Markdown files" t) (add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) |
4. if you are using homebrew, install markdown parser by typing like below
$ brew update ; brew install markdown ; which markdown /usr/local/bin/markdown |
5. And launch Emacs, after loading it go to
Options->Customize Emacs->Specific Options and then entering "markdown-command"
and set markdown command to '/usr/local/bin/markdown'
6. Enjoy your coding and preview M-x markdown-preview and C-c C-c m. :)
'Programming' 카테고리의 다른 글
docker 를 사용하여 apache hbase 를 pseudo-distributed 로 설치하기 (0) | 2015.12.11 |
---|---|
IntelliJ tomcat 구동시 유의사항 (0) | 2014.03.13 |
쉽게 따라하는 자바 웹개발 legacy-sample 공부한 코드들 (0) | 2013.08.13 |
Parser 에 대한 기초지식 (0) | 2013.04.09 |
리팩토링 설명 (Introduction to Refactoring) (0) | 2013.03.10 |