mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
Added upload image readme
This commit is contained in:
@@ -125,9 +125,6 @@ export class Upload2Notion {
|
||||
// if __content have start \n remove it
|
||||
const __content_remove_n = __content.replace(/^\n/, '')
|
||||
const content = '---\n' +yamlhead_remove_n +'\n---\n' + __content_remove_n;
|
||||
// const fullPath = this.getFilePath(nowFile);
|
||||
//write content fo file
|
||||
// fs.writeFileSync(fullPath, content);
|
||||
try {
|
||||
await nowFile.vault.modify(nowFile, content)
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user