Update version to 0.0.2

This commit is contained in:
Jiaxin Peng
2023-08-10 09:07:22 +01:00
parent 5411b0bac6
commit e3fb50b205
3 changed files with 15 additions and 4 deletions

View File

@@ -11,6 +11,7 @@
### 准备安装 ### 准备安装
在安装插件之前,你必须配置好了以下内容: 在安装插件之前,你必须配置好了以下内容:
1. 你的NotionNext数据库。 1. 你的NotionNext数据库。
2. 根据原作者的readme.md配置好了Notion API并且已经和你的NotionNext仓库关联。 2. 根据原作者的readme.md配置好了Notion API并且已经和你的NotionNext仓库关联。
3. NotionNext Database ID 3. NotionNext Database ID
@@ -25,7 +26,10 @@
- summary - summary
- password - password
- icon - icon
**如果你是直接复制的NotionNext的模板这些内容应该已经有了。我在原作者的基础之上对本插件的内容进行了更改所以你只需要保证你的数据库有如上内容并且所有的字母都是小写**
**如果你是直接复制的NotionNext的模板这些内容应该已经有了。我在原作者的基础之上对本插件的内容进行了更改所以你只需要保证你的数据库有如上内容并且所有的字母都是小写**
**⚠️⚠️⚠️:表头全部小写!!!顺序无所谓!** **⚠️⚠️⚠️:表头全部小写!!!顺序无所谓!**
### 安装插件 ### 安装插件
@@ -64,7 +68,9 @@ Contents Below
--- ---
**以下为原README.md** **以下为原README.md**
非常感谢原作者的开发,我只是在原作者的基础之上进行了修改,增加了一些功能。如果你觉得这个插件对你有帮助,可以给[原作者](https://github.com/EasyChris/obsidian-to-notion)一个star。 非常感谢原作者的开发,我只是在原作者的基础之上进行了修改,增加了一些功能。如果你觉得这个插件对你有帮助,可以给[原作者](https://github.com/EasyChris/obsidian-to-notion)一个star。
# Obsidian to Notion # Obsidian to Notion

View File

@@ -1,5 +1,6 @@
# Obsidian to NotionNext # Obsidian to NotionNext
[中文文档](README-zh.md) [中文文档](README-zh.md)
Thanks to the [original author](https://github.com/EasyChris/obsidian-to-notion) for developing such a useful plugin that can synchronize Obsidian to Notion. However, the original repository can only sync Name and Tags information. For those like me who use [NotionNext](https://github.com/tangly1024/NotionNext) to set up their website, this presents some limitations. Every time I import, I need to make a lot of modifications. Thanks to the [original author](https://github.com/EasyChris/obsidian-to-notion) for developing such a useful plugin that can synchronize Obsidian to Notion. However, the original repository can only sync Name and Tags information. For those like me who use [NotionNext](https://github.com/tangly1024/NotionNext) to set up their website, this presents some limitations. Every time I import, I need to make a lot of modifications.
Thus, based on the [original author's work](https://github.com/EasyChris/obsidian-to-notion), I've added a feature to match the [NotionNext](https://github.com/tangly1024/NotionNext) template. This way, you can edit directly in Obsidian and publish with a single click after organizing. Thus, based on the [original author's work](https://github.com/EasyChris/obsidian-to-notion), I've added a feature to match the [NotionNext](https://github.com/tangly1024/NotionNext) template. This way, you can edit directly in Obsidian and publish with a single click after organizing.
@@ -26,8 +27,10 @@ Before installing the plugin, you must have set up the following:
- summary - summary
- password - password
- icon - icon
**If you've directly copied the NotionNext template, these contents should already exist. I've made changes to this plugin based on the original author's work. All you need to ensure is that your database has the above content, and every letter is in lowercase!!!**
**⚠️⚠️⚠️: All headers are in lowercase!!! The order doesn't matter!** **If you've directly copied the NotionNext template, these contents should already exist. I've made changes to this plugin based on the original author's work. All you need to ensure is that your database has the above content, and every letter is in lowercase!!!**
**⚠️⚠️⚠️: All headers are in lowercase!!! The order doesn't matter!**
### Plugin Installation ### Plugin Installation
1. Close Obsidian. 1. Close Obsidian.
@@ -63,7 +66,9 @@ Usage of the template is as follows:
![](https://img.jxpeng.dev/2023/08/6063dd06eea4ee6939b5058dd129a698.gif) ![](https://img.jxpeng.dev/2023/08/6063dd06eea4ee6939b5058dd129a698.gif)
--- ---
**Original README.md** **Original README.md**
Many Thanks for the original author's work. I've only made some changes to the original author's work. If you find this plugin useful, please give the [original author](https://github.com/EasyChris/obsidian-to-notion) a star. Many Thanks for the original author's work. I've only made some changes to the original author's work. If you find this plugin useful, please give the [original author](https://github.com/EasyChris/obsidian-to-notion) a star.
# Obsidian to Notion # Obsidian to Notion

View File

@@ -63,7 +63,7 @@ export class Upload2Notion {
rich_text: [ rich_text: [
{ {
text: { text: {
content: slug || 'obsidian' content: slug || ''
} }
} }
] ]