diff --git a/Upload2Notion.ts b/Upload2Notion.ts index 79744be..54ce35b 100644 --- a/Upload2Notion.ts +++ b/Upload2Notion.ts @@ -44,7 +44,7 @@ export class Upload2Notion { title: [ { text: { - content: title, + content: title }, }, ], @@ -63,7 +63,7 @@ export class Upload2Notion { rich_text: [ { text: { - content: slug + content: slug || 'obsidian' } } ] @@ -82,7 +82,7 @@ export class Upload2Notion { rich_text: [ { text: { - content: summary + content: summary || '' } } ] diff --git a/manifest.json b/manifest.json index 6071866..7d7d0d3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { - "id": "obsidian-to-notionnext", - "name": "Obsidian shared to NotionNext", - "version": "0.0.1", + "id": "share-to-notionnext", + "name": "Share markdown to NotionNext", + "version": "0.0.2", "minAppVersion": "0.0.1", "description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api for NotionNext web deploy.", "author": "jxpeng98", diff --git a/package.json b/package.json index 137e87a..92874f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "obsidian-to-notionnext", - "version": "0.0.1", + "name": "share-to-notionnext", + "version": "0.0.2", "type": "module", "description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api for NotionNext web deploy.", "main": "main.js",