Grav 2 for Open Education and Publishing
Part 3
For readers and learners:
For authors:
Optional: with the free Git Sync plugin, every change is saved to a GitHub repository with its full history, and co-authors can suggest edits there.
flowchart LR
accTitle: Working with Git Sync
accDescr: Edits in Admin 2 update the Grav 2 site, which Git Sync keeps in step with a GitHub repository, where co-authors can also make changes.
A([fa:fa-pen-to-square Edit in Admin 2]) --> B(fa:fa-globe Grav 2 site)
B <-.->|Git Sync| C(fab:fa-github GitHub repository)
D([fa:fa-users Co-authors]) --> C
See an example: this site's pages are in a public GitHub repository, just as Git Sync would keep them – see this page's own file, or every edit to it.
For whoever runs the site:
How it compares with other popular tools for open textbooks, guides and courses – WordPress-based book tools such as Pressbooks, and static site tools such as Quarto, Jupyter Book, Jekyll and Hugo:
| Grav 2 | WordPress-based (such as Pressbooks) | Static site tools | |
|---|---|---|---|
| Content stored as | Markdown files | A database | Markdown files |
| Editing | In the browser (Admin 2), or any editor | In the browser | Edit files (or add a separate editing tool); a build publishes them |
| Hosting | A PHP web host (PHP 8.3 or newer) | A hosted service, or your own WordPress | Free static hosting, such as GitHub Pages |
| Markdown of every page | Built in | Not built in | The source files themselves |
| EPUB and formatted PDF | No – pages print cleanly | Yes – a real strength | Yes, especially Quarto |
| Running code in pages (notebooks) | No | No | Yes, with Quarto and Jupyter Book |
| Books and courses from the same content | Yes – the same Markdown moves between the book and course starters | Books | Possible, with setup |
Pick Grav 2 for plain Markdown files with no build step, editable in the browser by co-authors who don't use Git; a WordPress-based book tool such as Pressbooks if you need EPUB or print-ready PDF; or a static site tool if you're comfortable with Git and want free hosting.

This page on a phone, in light and dark mode
Try it on this site: press → for the next page, / to search, switch to dark mode (top right), or open print preview.
See it moved: this site's Open Textbooks, Guides and Courses guide also runs, with the same content, on the Quark 2 theme, as an Open Course Space course, and on Grav Premium Helios as an open reader and a course hub – and as plain Markdown pages on Docsify-This.
Tip
A domain of one's own: because a Grav 2 site is just a folder of files, it's a good fit for personal or institutional web hosting – your content isn't tied to a single platform or host.
This work by Paul Hibbitts is licensed under CC BY 4.0. Cover photo by Katz Sakai on Unsplash.