generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(main.ts): import missing functions from utils file to avoid undef…
…ined errors fix(main.ts): handle case when activeView or activeView.file is null in getActiveView() function fix(main.ts): handle error when publishing post and display error message feat(main.ts): update file content with new front matter and body after publishing post fix(utils.ts): import FrontMatterCache type from obsidian to fix type error feat(utils.ts): add functions to remove front matter, extract content body, and create new front matter
- Loading branch information
Showing
2 changed files
with
64 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters