Update readme with banner option

This commit is contained in:
chris
2022-05-26 15:41:11 +08:00
parent ae7a9ac6cf
commit bf512fe2a3
2 changed files with 5 additions and 3 deletions

View File

@@ -73,7 +73,9 @@ A share link will be automatically generated after successful upload
![](./doc/5.png) ![](./doc/5.png)
## Banner URL[option]
banner url must be a image url like: https://i.imgur.com/xxx.jpg
if you don't want to use banner, leave it blank
# Buy me a cup of coffee. # Buy me a cup of coffee.

View File

@@ -187,8 +187,8 @@ class SampleSettingTab extends PluginSettingTab {
); );
new Setting(containerEl) new Setting(containerEl)
.setName("Banner Url") .setName("Banner url(optional)")
.setDesc("page banner url") .setDesc("page banner url(optional), default is empty, if you want to show a banner, please enter the url(like:https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/ae7a9ac6cf427f3ca338a409ce6967ced9506f12/doc/2.png)")
.addText((text) => .addText((text) =>
text text
.setPlaceholder("Enter banner pic url: ") .setPlaceholder("Enter banner pic url: ")