generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use data from statsManager to render
Signed-off-by: edonyzpc <[email protected]>
- Loading branch information
Showing
10 changed files
with
793 additions
and
797 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// icons | ||
export const PluginAST_STAT_ICON = "PluginAST_STAT"; | ||
|
||
// stats | ||
export const MATCH_COMMENT = new RegExp("%%[\\s\\S]*?(?!%%)[\\s\\S]+?%%", "g"); | ||
export const MATCH_HTML_COMMENT = new RegExp( | ||
"<!--[\\s\\S]*?(?:-->)?" + | ||
"<!---+>?" + | ||
"|<!(?![dD][oO][cC][tT][yY][pP][eE]|\\[CDATA\\[)[^>]*>?" + | ||
"|<[?][^>]*>?", | ||
"g" | ||
); | ||
export const STATS_FILE_NAME = "stats.json"; |
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
Oops, something went wrong.