Skip to content

Export Google Doc as clean html. Handy to make a Wordpress post from Google Doc.

Notifications You must be signed in to change notification settings

daffinm/GoogleDoc2Html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Google Doc to clean HTML converter

  1. Open your Google Doc and go Tools > Script Editor. You should see a new window open with a nice code editor. Delete the existing content so the file is clean.
  2. Copy and paste the code from here into the script editor: GoogleDocs2Html
  3. Go to the File menu and Save the file the script as GoogleDoc2Html.
  4. Close the script editor and refresh the document. Wait until 'Run...' appears to the right of the Help menu.
  5. Click Run... > Convert to Clean HTML
  6. A popup window will appear entitled 'Authorization Required'.
    Click continue, select a Google account
  7. You will see a warning. "This app isn't verified". Click 'Advanced' > 'Go to Project_Name project (unsafe)'
  8. Allow the following permissions:
    • View and manage your Google Docs documents.
    • Send email as you
  9. You will get an email at your Google Account containing the HTML output of the Google Doc with inline images.

About

Export Google Doc as clean html. Handy to make a Wordpress post from Google Doc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%