forked from jgm/pandoc-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
code.txt
29 lines (19 loc) · 753 Bytes
/
code.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Code
Pandoc has a publicly accessible git repository at
[github](http://github.com/jgm/pandoc).
To get a local copy of the source:
git clone git://github.com/jgm/pandoc.git
Note: after cloning the repository (and in the future
after pulling from it), you should do
git submodule update --init
to pull in changes to the templates. You can automate
this by creating a file `.git/hooks/post-merge` with
the contents:
#!/bin/sh
git submodule update --init
and making it executable:
chmod +x .git/hooks/post-merge
The modules `Text.Pandoc.Definition`,
`Text.Pandoc.Builder`, and `Text.Pandoc.Generics` are in
a separate package `pandoc-types`. The code can be
found in [this repository](http://github.com/jgm/pandoc-types).