aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 0efb7af3a7ebdf2ae7affe3cdb79c7d95e1a38a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# cgit Markdown filter

This is a simple Markdown filter for cgit. The substantive parts of the file
are copied verbatim from the example in `lowdown_file(3)`, with the
`LOWDOWN_STANDALONE` flag removed so that the program outputs an HTML fragment
rather than a full document.

This requires the `lowdown` package on OpenBSD. Run `make install` to compile
the program and install it at `/var/www/bin/md-filter`. Add the following line
to the `cgitrc` file to enable the filter:

    about-filter=/bin/md-filter

## See also

- `lowdown(3)`
- `lowdown(5)`
- `lowdown_file(3)`
- `cgitrc(5)`