Skip to content

Commit 52dd16f

Browse files
committed
Updated README
1 parent 35f27ff commit 52dd16f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ This script import markdown notes to Notion.
77
88
## How to run
99

10-
1. Get `NOTION_TOKEN` and give access to your note where the data will be imported.
10+
1. Get `NOTION_TOKEN` and give access to your note where the data will be imported
1111
- [Create your integration in Notion](https://developers.notion.com/docs/create-a-notion-integration#getting-started)
12+
1213
2. Run the script specifying the folder with notes
1314

1415
```bash
@@ -21,7 +22,13 @@ export DB_PASSWORD 'notion-password'
2122
node index.js --import /path/no/notes
2223
```
2324

24-
3. Some notes may not import correctly. [Solutions](https://github.com/tryfabric/martian#working-with-notions-limits). After correcting the original notes that were imported with an error, they can be imported again
25+
3. Some notes may not import correctly. [Solutions](https://github.com/tryfabric/martian#working-with-notions-limits)
26+
27+
```bash
28+
node index.js --show-errors
29+
```
30+
31+
4. After correcting the original notes that were imported with an error, they can be imported again
2532

2633
```bash
2734
node index.js --import-with-errors /path/no/notes

TODO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
- Добавить переменные среды для БД
44
- Добавить команду для вывода импортированных заметок с ошибками
5+
- Добавить команду повторного импорта заметок с ошибками

0 commit comments

Comments
 (0)