Post Google-Docs To GitHub-Pages with Gabriel (The Markdown Angel).
This is a simple Google Apps 'Add-On' which converts a Google Doc to Markdown, then commits it (together with any associated images) to a Github Repo. Particularly useful for those using Github-Pages to host Jekyll Blogs yet wish to author posts in Google Docs.
It allows for simple permalinks, tagging and titles. You can also submit arbitary YAML if you're doing custom things in Jekyll. All Gabriel related metadata is stored in the DocumentProperties of the document, making it ideal for collaboration.
You can download the code yourself for modification/testing/usage/debugging or grab it from the Google Web Store. Please note that this code is currently in late-alpha/early-beta. It's functional but a little rough around the edges (especially in handling the OAuth flow to Github).
Gabriel, 'The Markdown Angel' to make generating a publishing Markdown easier for non-technical or non-confident users. Named with a nod to Jekyll & Hyde as it is mainly used in conjunction with a Jekyll / Github-Pages repository on Github.
It is licensed under version 2.0 of the Apache License and contains code (thanks!) from the following projects (any alterations or modifications are marked in the code):
File | From | Copyright | License |
---|---|---|---|
OAuth2.gs | Github Repo | Copyright 2014 Google Inc. All Rights Reserved. | Apache License, Version 2.0 |
Markdown.gs | Github Repo | Copyright 2013 Google Inc. All Rights Reserved. | Apache License, Version 2.0 |
Underscore | Website | Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | MIT License |
js-yaml.min.gs | Github Repo | Copyright (C) 2011-2015 by Vitaly Puzrin | MIT License |
The logo incorporates the Markdown Mark which is licensed under the Creative Commons License (CC0 UNIVERSAL PUBLIC DOMAIN DEDICATION LICENSE).
All else, Copyright JD, 2015-16.