diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-24 04:40:17 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-24 04:40:17 -0500 |
commit | c46222fd2c1e02f695b544576f8605676be4d502 (patch) | |
tree | 29893a84cbc8d06c138306ddad63eecabda0d50c /public/git-go-pre-commit.md | |
parent | fee8f8267106650d24b5047ee7e0abfa905f5760 (diff) |
Switch from rdiscount to Pandoc.
But, I am still using ERB for the templating; I wrote my own Ruby Pandoc
bindings because pandoc-ruby sucks; it has more code but does less.
This was slightly painful, as I had to switch all of the articles from my
hacked-on metadata format to Pandoc's format.
Diffstat (limited to 'public/git-go-pre-commit.md')
-rw-r--r-- | public/git-go-pre-commit.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/git-go-pre-commit.md b/public/git-go-pre-commit.md index 84137cc..98e7b28 100644 --- a/public/git-go-pre-commit.md +++ b/public/git-go-pre-commit.md @@ -1,7 +1,9 @@ A git pre-commit hook for automatically formatting Go code ========================================================== -:copyright 2013 Luke Shumaker -:license WTFPL-2 +--- +date: 2013-10-12 +license: WTFPL-2 +--- One of the (many) wonderful things about the Go programming language is the `gofmt` tool, which formats your source in a canonical way. I |