Moved markdown related setting to the markdown section.

This commit is contained in:
Lars Tveito 2015-04-08 01:06:46 +02:00
parent 4daf747d35
commit 069dabc6ed

View File

@ -381,12 +381,6 @@
#+END_SRC #+END_SRC
This makes =.md=-files open in =markdown-mode=.
#+BEGIN_SRC emacs-lisp
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
#+END_SRC
** Visual ** Visual
Change the color-theme to =leuven=. Change the color-theme to =leuven=.
@ -1116,6 +1110,12 @@
** Markdown ** Markdown
This makes =.md=-files open in =markdown-mode=.
#+BEGIN_SRC emacs-lisp
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
#+END_SRC
I sometimes use a specialized markdown format, where inline math-blocks I sometimes use a specialized markdown format, where inline math-blocks
can be achieved by surrounding a LaTeX formula with =$math$= and can be achieved by surrounding a LaTeX formula with =$math$= and
=$/math$=. Writing these out became tedious, so I wrote a small function. =$/math$=. Writing these out became tedious, so I wrote a small function.