Commit | Line | Data |
---|---|---|
8c3a84c5 TH |
1 | # My personal scripts |
2 | ||
3 | I will add some small (and rather hackish) scripts for my | |
4 | personal use here. | |
5 | ||
6 | ## Perl | |
7 | ||
8 | ### footnotes.pl | |
9 | ||
10 | `footnotes` will convert footnotes in MultiMarkDown format | |
11 | to the format of the Wordpress plugin | |
12 | [footnotes](https://wordpress.org/plugins/footnotes/) and back. | |
13 | ||
8b47885d TH |
14 | Usage: `footnotes --to mmd|wp [--file $inputfile]` |
15 | ||
afd47875 TH |
16 | ### mmm.pl |
17 | ||
18 | `mmm` (*MIME multipart/alternative from Markdown*) can | |
19 | create a MIME `multipart/alternative` mail, containing a | |
20 | `text/plain` part (in Markdowen) and a `text/html` part, from | |
21 | a Markdown file. Other mail headers (From:, To:, Subject:, ...) | |
22 | can be prepended from a template file. | |
23 | ||
24 | Usage: `mmm [--file $inputfile] [--headers $templatefile]` |