HTML generator for MLP:CCG rules based on Hithroc's plain text version
static | ||
.gitignore | ||
main.go | ||
README.md | ||
template.go | ||
template.html |
htmlroc
Converts MLP:CCG rule files from text to HTML!
Installation
Requirements
- Go 1.12+
- The text rules from Hithroc's site: https://horse.cards/rules/latest.txt
Running htmlroc
- Clone project locally and
cd
to it - Place the text rules inside the project's folder as
rules.txt
- Run this command:
go run .
Alternately, you can compile with go install
and use the command line flags to specify location of rules.txt
and template.html
Thanks to
- Hithroc for maitaining text versions of the rules
- CommentaryIsMagic for maitaining the official rules