Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 857 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 857 Bytes

gs-markdown

Google Apps Scripts to create a markdown file from the Google Doc.

Installation

To add the code to a Google Doc, perform the following actions.

  1. Select the "Tools/Script Editor" menu item to open the Script Editor.
  2. Select the "File/New/Script file" menu item to create a new script file.
  3. Enter "main" as the new file name.
  4. Replace the contents of the editor window with the contents of the "main.gs" file here.
  5. Repeat steps 2-4 for the "local.gs" script file.
  6. Select the drop-down menu of the "Code.gs" script file and select "Delete" to remove it.
  7. Select the "File/Save all" menu item to save the new script files.
  8. Select the name of the script project and rename it to "Markdown".
  9. Switch back to the main Google Doc file and reload the page.

Usage

Select the "Add-ons/Markdown/Add MD to Drive" menu item.