Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Outputting content as html

Started by Muut Archive 10 years ago · 7 replies · 1537 views
10 years ago

I am planning to use grav for documentation website of a software. That site will also be used as a web documentation for the software. I already have over 120 html files that I want to add in grav after organizing the folder and file structure. However, new contents will also be generated. I need the html file with the correct directory structure. Is there a way of converting the site contents from markdown to html?

10 years ago

You can paste HTML code directly into the markdown pages. It will be interpreted as HTML.

10 years ago

I found out about that. My issue is how can I transport the site as HTML? From my understanding, if I create a new content, it saves it as markdown. I wanted to use the html output in a software documentation.

10 years ago

You can't do that. Grav is a dynamic CMS that requires PHP to function. You are probably looking for a static-file generator that creates static HTML files.

10 years ago

Oh that is unfortunate. I wanted to generate content using grave and just use the pages folder offline.

10 years ago

You can use wget or any other site scraper to make a static version of the site.

10 years ago

This is noted. That was what I wanted to avoid when coming to flat file CMS.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2567 9 years ago
Archive · by Muut Archive, 9 years ago
2 1690 9 years ago
Archive · by Muut Archive, 9 years ago
2 4982 9 years ago
Archive · by Muut Archive, 9 years ago
1 3808 9 years ago
Archive · by Muut Archive, 9 years ago
3 1800 9 years ago