HTML generator for MLP:CCG rules based on Hithroc's plain text version
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Hamcha 6bd69681ab Grammar fix 4 years ago
static Use stricter selection in media query as well 4 years ago
static-src/stylesheets Use stricter selection in media query as well 4 years ago
.gitignore Add build system for static assets 4 years ago
README.md Grammar fix 4 years ago
gulpfile.js Add build system for static assets 4 years ago
main.go Add build system for static assets 4 years ago
package.json Add build system for static assets 4 years ago
template.go Add build system for static assets 4 years ago
template.html Add title manually for now 4 years ago
yarn.lock Add build system for static assets 4 years ago

README.md

htmlroc

Converts MLP:CCG rule files from text to HTML!

Installation

Requirements

Running htmlroc

  1. Clone project locally and cd to it
  2. Place the text rules inside the project's folder as rules.txt
  3. 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

Rebuilding static assets

If you have node.js installed, you can also modify the static assets and rebuild them. Source files are in static-src. To rebuild, run either npm i or yarn install depending on your package manager of choice and then:

yarn build

This will build the CSS/JS files needed for the provided template.

Thanks to