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.