index
:
ikiwiki-upstream
layoutgala
master
Unnamed repository; edit this file to name it for gitweb.
Jonas Smedegaard
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
IkiWiki
/
Plugin
/
postsparkline.pm
diff options
context:
1
2
3
4
I added the following to my
<code>
.emacs
</code>
.
The hook is to convert tabs to spaces to avoid unpleasant
surprises with code blocks. For source to ska-untabify see the
<a
href
=
"http://www.emacswiki.org/cgi-bin/wiki/UntabifyUponSave"
>
EmacsWiki
</a>
<pre>
(autoload 'markdown-mode
"markdown-mode"
)
(add-to-list 'auto-mode-alist '(
"\\.mdwn"
. markdown-mode))
(add-hook 'markdown-mode-hook
'(lambda ()
(make-local-hook 'write-contents-hooks)
(add-hook 'write-contents-hooks 'ska-untabify nil t)))
</pre>
;; [[DavidBremner]]