ReText Webpages Generator (WpGen) is an useful tool for generating html pages to use on your web site.
It's possible to use WpGen directly from ReText 0.7+. Also, a command-line interface is available.
wpgen initto create neccesary files.
index.mkdpage is used as the home page.
wpgen updateallto create ready-to-use HTMLs. You can also use
wpgen update PAGENAMEto process only one page.
markdown-extensions.txtfile of WpGen's working directory; separate them using a line break.
To customize the look, edit the
html/style.css file. You can also use some built-in CSS styles by entering
wpgen usestyle %Style%. By default, WpGen comes with three themes: "Simple", "Default" (grey-colored) and "Blue".
To customize page layout, edit the
Note: if command
wpgen does not work (for example, if you have downloaded retext from here), replace it with the full path to
wpgen init doesn't work, run it from the
wpgen/ directory first, and the copy
html/ directories and
template.html file to another directory.