Skip to content

giffyglyph/giffyglyphs-project-publisher

Repository files navigation

Project Publisher Social Banner

Giffyglyph's Project Publisher

License: GNU GPL v3.0 Support me on Patreon Twitter Twitch

Turn markdown fragments into fully-featured HTML files, PDFs, PNGs, ZIPs, and more with Giffyglyph's Project Publisher!

Getting Started

  1. Install Node.js and NPM (visit https://nodejs.org/en/ for more details).
  2. Open a command prompt and go to your Project Publisher installation folder (e.g. "C:/giffyglyphs-project-publisher").
  3. Run npm ci to install all the required modules.
  4. Run node publisher.js build to build the example project.
  5. Find the built files in /build/gppTutorial/gppBookWizard/; open html/publisher-handbook_v1-0-0_en.html.

What Next?

Want to become more familiar with Project Publisher? Then try some of the tasks listed below.

  1. Make some changes to projects/gppTutorial/fragments/getting_started.md and rerun build—review your updates in the dist folder.
  2. Create a new markdown fragment and add it to gppTutorial/collections/handbook.json. Rebuild the project and review the changes.
  3. Run build -fr to build fragments, not collections.
  4. Run export -ex pdf to create a PDF from each HTML file.
  5. Change the color variables in gppBookWizard/stylesheets. Rebuild and review your updates.
  6. Create a new project and add it to the publisher.js config file.

Key Commands

These are some of the common commands you can use with Project Publisher.

a. node publisher.js --help
b. node publisher.js build -p <project> -f <format>
c. node publisher.js build -p <project> -f <format> -fr
d. node publisher.js clean -p <project> -f <format>
e. node publisher.js watch -p <project> -f <format>
f. node publisher.js export -p <project> -ex <png|jpg|png|zip>

Roadmap

To see what's being worked on right now—and what may be planned for the future—check out the projects board.

Bugs and Feature Suggestions

If you notice a bug or have a feature suggestion, visit the issue board and open a ticket. Please make sure to be as thorough as possible in your report and attach screenshots where appropriate, as low-effort tickets may be closed out-of-hand.

Support

Support me on Patreon Twitter Twitch

If you'd like to see more from this project in future, please consider becoming a patron. You can also find more of my work at:

Licensing

License: GNU GPL v3.0

This work is licensed under GNU GPL v3.0 or later terms.

About

Turn markdown fragments into fully-featured HTML files, PDFs, PNGs, ZIPs, and more with Giffyglyph's Markdown Maker!

Topics

Resources

License

Stars

Watchers

Forks