summarylogtreecommitdiffstats
path: root/emacs-markdown-preview-mode.install
blob: 3c1f1da1f2494584f3f003ce8d4462ae32a41c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
    cat <<EOF
=> to use this package, add

(add-to-list 'load-path' "/usr/share/emacs/site-lisp/markdown-preview-mode/")    
(require 'markdown-preview-mode)

to the init file

=> to render Mathjax, add

(add-to-list 'markdown-preview-javascript "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML")

to the init file
EOF
}

post_upgrade() {
    post_install $1
}