mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Moved markdown related setting to the markdown section.
This commit is contained in:
parent
4daf747d35
commit
069dabc6ed
12
init.org
12
init.org
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user