Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Outputting content as html

Started by Muut Archive 9 years ago · 7 replies · 1251 views
9 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?

9 years ago

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

9 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.

9 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.

9 years ago

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

9 years ago

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

9 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 1329 9 years ago
Archive · by Muut Archive, 9 years ago
2 922 9 years ago
Archive · by Muut Archive, 9 years ago
2 4051 9 years ago
Archive · by Muut Archive, 9 years ago
1 2930 9 years ago
Archive · by Muut Archive, 9 years ago
3 1108 9 years ago