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

Save as ".grav" file... from word processor

Started by Muut Archive 10 years ago · 2 replies · 324 views
10 years ago

Is it possible to integrate grav into MS Office, for example? Just "save as" .grav format (which is a zip containing contents of a chapter), that can be unzip in any grav installation. Depending upon grav theme you use, shortcodes has different meanings, therefore, different presentation formats.

What about digital signature through a chapter to ensure no one touch this chapter since creation.

Definately, this will end with tones of sharing problems in many places, such judges.

10 years ago

The only way to do this is to save as a Text file and set the extension to .md. You would still have to use all the correct YAML syntax and markdown etc.

You can't just write stuff up and 'save as Grav' because there is no grav format specifcally.. its a makdown file with YAML frontmatter, very similar to Jekyll. You are better off using a nice native Markdown editor that looks like a word processor.

10 years ago

An alternative is using Pandoc:

TXT
pandoc -f docx -t markdown -o output.md input.docx --extract-media=images

Which takes a .docx file and outputs it as markdown, with embedded images saved alongside in an images folder.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1360 9 years ago
Archive · by Muut Archive, 9 years ago
2 938 9 years ago
Archive · by Muut Archive, 9 years ago
2 4068 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1122 9 years ago