From 069dabc6eda7e07039bf1b0110c7a17bc1a1750d Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Wed, 8 Apr 2015 01:06:46 +0200 Subject: [PATCH] Moved markdown related setting to the markdown section. --- init.org | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/init.org b/init.org index 7a3e466..7c6ed4c 100644 --- a/init.org +++ b/init.org @@ -381,12 +381,6 @@ #+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 Change the color-theme to =leuven=. @@ -1116,6 +1110,12 @@ ** 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 can be achieved by surrounding a LaTeX formula with =$math$= and =$/math$=. Writing these out became tedious, so I wrote a small function.