Gabriel - The Markdown Angel for Google Docs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.Readme.gs
AboutDialog.html
AboutDialogJavaScript.html
AuthorisationDialog.html
AuthorisationDialogJavaScript.html
Code.gs
Config.gs
DialogStylesheet.html
Entry.gs
Github.gs
LICENSE
Markdown.gs
OAuth2.gs
PreAuthSidebar.html
Properties.gs
README.md
RepoDialog.html
RepoDialogJavaScript.html
Sidebar.html
SidebarJavaScript.html
SidebarStylesheet.html
Underscore.gs
js-yaml.min.gs

README.md

Gabriel

Overview

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.

Usage

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

Naming

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.

Licensing

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.