Grav 2 for Open Education and Publishing
Part 2
Grav is a free, open-source flat-file CMS – a website system that stores content as plain Markdown files instead of a database. Grav 2 is its new version, now a stable release.
flowchart LR
accTitle: How Grav 2 works
accDescr: Markdown files, edited in Admin 2 or any editor, go into Grav 2, which produces web pages and Markdown versions.
A[Markdown files] --> B[Grav 2]
B --> C[Web pages]
B --> D[Markdown versions]
E[Admin 2 or any editor] --> A
This diagram is written as plain text, with the free Mermaid plugin – GitHub draws it too – and math works the same way with LaTeX Math, like $E = mc^2$.
What's new in Grav 2:
.md to a page's address to get its Markdown (Grav 2.1 release notes), or turn it off in Grav's settings
This page, and its Markdown version
See this page as Markdown, and compare the diagram with the text that draws it.
What Grav has always had:
And this is Admin 2, where pages like this one are organized, written and previewed:

Admin 2: this guide's pages

This page, open in the Admin 2 editor

The same page in Admin 2's Page Preview
Try the Admin 2 panel: read-only demos for Open Publishing Space and Open Course Space (the sign-in details are on their sign-in screens).
Coming from WordPress? Much of it will feel familiar:
| In WordPress | In Grav 2 |
|---|---|
| Dashboard | Admin 2 |
| Pages and posts | Pages, each a Markdown file in its own folder – with a blog page for posts |
| Block editor | Markdown, with shortcodes for extras like callouts and embeds |
| Database | None – just files |
| A backup plugin | Copy the site's folder |
For a detailed look, including when WordPress is the better pick, see Grav vs WordPress: An Honest Comparison by Grav's creator.
This work by Paul Hibbitts is licensed under CC BY 4.0. Cover photo by Katz Sakai on Unsplash.