Skip to content

Commit 5ca2939

Browse files
authored
Change instructions to match Google Docs UI (#1)
Change instructions to match Google Docs UI Incorporates changes proposed in: - mangini#60 - mangini#59 - mangini#53 - mangini#48 - mangini#37 - mangini#34 ...And probably elsewhere
1 parent 9c4f682 commit 5ca2939

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ gdocs2md
44
A simple Google Apps script to convert a properly formatted Google Drive Document to the markdown (.md) format.
55

66
## Usage
7+
Running the script:
78

8-
* Adding this script to your doc (once per doc):
9-
* Open your Google Drive document (http://drive.google.com)
10-
* Tools -> Script Manager > New
11-
* Select "Blank Project", then paste this code in and save.
12-
* Clear the myFunction() default empty function and paste the contents of [converttomarkdown.gapps](https://raw.github.com/mangini/gdocs2md/master/converttomarkdown.gapps) into the code editor
13-
* File -> Save
9+
* Adding this script to your doc (once per doc):
10+
* Open your Google Docs document
11+
* Tools > Script editor
12+
* Delete the default empty function myFunction() and paste the contents of the `converttomarkdown.gapps` file into the code editor
13+
* File > Save
1414

15-
* Running the script (run as many times as you want):
16-
- Tools > Script Manager
17-
- Select "ConvertToMarkdown" function.
18-
- Click Run button (First run will require you to authorize it. Authorize and run again)
19-
- Converted doc with images attached will be emailed to you. Subject will be "[MARKDOWN_MAKER]...".
20-
15+
* Running the script (run as many times as you want):
16+
* Tools > Script editor
17+
* Select the code file with the `ConvertToMarkdown` function
18+
* In the taskbar, click "Select function" and select `ConvertToMarkdown`
19+
* Click the Run button (first run will require you to authorize it)
20+
* Converted doc will be mailed to you. Subject will be "[MARKDOWN_MAKER]..."
2121

2222
## Interpreted formats
2323
* Text:

converttomarkdown.gapps

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
/*
22
Usage:
3-
Adding this script to your doc:
4-
- Tools > Script Manager > New
5-
- Select "Blank Project", then paste this code in and save.
3+
Adding this script to your doc:
4+
- Open your Google Docs document
5+
- Tools > Script editor
6+
- Delete the default empty function myFunction() and paste the contents of this file into the code editor
7+
- Save
68
Running the script:
7-
- Tools > Script Manager
8-
- Select "ConvertToMarkdown" function.
9-
- Click Run button.
10-
- Converted doc will be mailed to you. Subject will be "[MARKDOWN_MAKER]...".
9+
- Tools > Script editor
10+
- Select the code file with the "ConvertToMarkdown" function
11+
- In the taskbar, click "Select function" and select "ConvertToMarkdown"
12+
- Click the Run button (first run will require you to authorize it)
13+
- Converted doc will be mailed to you. Subject will be "[MARKDOWN_MAKER]..."
1114
*/
1215

1316
function ConvertToMarkdown() {

0 commit comments

Comments
 (0)