I went through following steps:
Install mercurial. On a Mac using homebrew use: brew install hg
Install these Go modules:
go get bitbucket.org/pkg/inflect
go get github.com/hashicorp/go-version
go get github.com/russross/blackfriday
symlink this repo's generator directory to $GOPATH/src/generator
Run the html generator:
a. cd $GOPATH/src/generator/main
b. go run main.go -spec ~/projects/repo/filename.md -template ~/projects/repo/filename.tmpl -out test.html
I'd recommend you take a look at aglio, an API Blueprint renderer which can render your API Blueprint as HTML.
$ npm install -g aglio
$ aglio -i input.apib -o output.html
This should do everything you need.