You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,12 @@ If you want to skip or ignore notes that have already been exported then
124
124
```
125
125
will skip exporting Keep notes to markdown that already exist in the destination directory. If 2 or more Keep notes have the same title and a markdown file already exists with that name, a new export will be created for any exports that do not exist. (Note that overwrite and skip cannot be used at the same time)
126
126
127
+
#### Preserve Labels
128
+
Many markdown applications cannot work with special characters in labels/tags (such as brackets, parentheses, asterisks, etc). By default, KIM will strip out all special characters and replace them with dashes(-). If you need to preserve labels in their original form, use the -p option:
129
+
```bash
130
+
> python kim.py -p
131
+
```
132
+
127
133
#### Logseq Style
128
134
Some markdown systems prefer to have bullets prepended on each paragraph within a note. KIM will attempt to prepend a dash to any Keep note that has 2 linefeeds as well as the first line. You can enable this feature with
129
135
```bash
@@ -154,14 +160,6 @@ If you have a large number of notes it can be confusing which ones have already
154
160
> python kim.py -m
155
161
```
156
162
157
-
#### Authentication Token Storage
158
-
When you run KIM for the first time and log in via your password, it will store your authenticated Google Keep token in your computer's safe storage (macOS - Keychain, Windows Credential Locker and Linux Secret Service or KWallet). You will not need to re-enter your password next time you run KIM.
159
-
160
-
If you need to change or reset your access token or don't feel comfortable saving the token in safe storage, just run KIM with the -r flag (NOTE: this has changed from version 0.2.0):
161
-
```bash
162
-
> python kim.py -r
163
-
```
164
-
165
163
#### Batch Mode
166
164
KIM can run through your own script by using the -b flag. For example, running:
167
165
```bash
@@ -218,9 +216,16 @@ You can override the settings `input_labels` in the command line with the (-lb)
218
216
219
217
NOTE: the import switches -i and -lb are incompatible with all other switches for export. Be sure to test simple import examples before using this feature!!!
220
218
219
+
#### Authentication Token Storage
220
+
When you run KIM for the first time and log in via your password, it will store your authenticated Google Keep token in your computer's safe storage (macOS - Keychain, Windows Credential Locker and Linux Secret Service or KWallet). You will not need to re-enter your password next time you run KIM.
221
+
222
+
If you need to change or reset your access token or don't feel comfortable saving the token in safe storage, just run KIM with the -r flag (NOTE: this has changed from version 0.2.0):
223
+
```bash
224
+
> python kim.py -r
225
+
```
221
226
222
227
#### Combinations
223
-
Example: to export all non-archived notes, using content for blank note titles, with overwriting, preserving Keep label format, Logseq style paragraphs, removing trailing hashtags if embedded in note, with create dates > Oct 3, 2023 in batch:
228
+
Example: to export all non-archived notes, using content for blank note titles, with overwriting, preserving Keep label format, Logseq style paragraphs, removing trailing labels if hashtags are embedded in note, with create dates > Oct 3, 2023 in batch:
0 commit comments