项目:更新插件
This commit is contained in:
parent
e0af350777
commit
55785fcbd8
2871
.obsidian/plugins/obsidian-git/main.js
vendored
2871
.obsidian/plugins/obsidian-git/main.js
vendored
File diff suppressed because it is too large
Load Diff
2
.obsidian/plugins/obsidian-git/manifest.json
vendored
2
.obsidian/plugins/obsidian-git/manifest.json
vendored
@ -5,5 +5,5 @@
|
|||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||||
"js": "main.js",
|
"js": "main.js",
|
||||||
"version": "2.23.2"
|
"version": "2.24.1"
|
||||||
}
|
}
|
||||||
|
71
.obsidian/plugins/obsidian-git/styles.css
vendored
71
.obsidian/plugins/obsidian-git/styles.css
vendored
@ -8,20 +8,20 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type='git-view'] .button-border {
|
.workspace-leaf-content[data-type="git-view"] .button-border {
|
||||||
border: 2px solid var(--interactive-accent);
|
border: 2px solid var(--interactive-accent);
|
||||||
border-radius: var(--radius-s);
|
border-radius: var(--radius-s);
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type='git-view'] .view-content {
|
.workspace-leaf-content[data-type="git-view"] .view-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type='git-history-view'] .view-content {
|
.workspace-leaf-content[data-type="git-history-view"] .view-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading>svg {
|
.loading > svg {
|
||||||
animation: 2s linear infinite loading;
|
animation: 2s linear infinite loading;
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -77,6 +77,18 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.git-author {
|
||||||
|
color: var(--text-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-date {
|
||||||
|
color: var(--text-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-ref {
|
||||||
|
color: var(--text-accent);
|
||||||
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -228,12 +240,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
del {
|
||||||
background-color: #ffb6ba;
|
background-color: #ffb6ba;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
del {
|
||||||
background-color: #8d232881;
|
background-color: #8d232881;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -249,13 +267,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
ins {
|
||||||
background-color: #97f295;
|
background-color: #97f295;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
ins {
|
||||||
background-color: #1d921996;
|
background-color: #1d921996;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
@ -376,19 +400,31 @@
|
|||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-del.d2h-change {
|
||||||
background-color: #fdf2d0;
|
background-color: #fdf2d0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-del.d2h-change {
|
||||||
background-color: #55492480;
|
background-color: #55492480;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-ins.d2h-change {
|
||||||
background-color: #ded;
|
background-color: #ded;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-ins.d2h-change {
|
||||||
background-color: rgba(37, 78, 37, 0.418);
|
background-color: rgba(37, 78, 37, 0.418);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -401,7 +437,9 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-list-wrapper
|
||||||
|
a:visited {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -427,13 +465,13 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li {
|
||||||
border-bottom: 1px solid var(--background-modifier-border);
|
border-bottom: 1px solid var(--background-modifier-border);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -501,7 +539,8 @@
|
|||||||
background-color: var(--background-secondary);
|
background-color: var(--background-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-gutterElement.obs-git-blame-gutter > div, .line-author-settings-preview {
|
.cm-gutterElement.obs-git-blame-gutter > div,
|
||||||
|
.line-author-settings-preview {
|
||||||
/* delegate text color to settings */
|
/* delegate text color to settings */
|
||||||
color: var(--obs-git-gutter-text);
|
color: var(--obs-git-gutter-text);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
230
.obsidian/plugins/obsidian-linter/main.js
vendored
230
.obsidian/plugins/obsidian-linter/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-linter",
|
"id": "obsidian-linter",
|
||||||
"name": "Linter",
|
"name": "Linter",
|
||||||
"version": "1.23.1",
|
"version": "1.23.2",
|
||||||
"minAppVersion": "1.4.16",
|
"minAppVersion": "1.4.16",
|
||||||
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
|
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
|
||||||
"author": "Victor Tao",
|
"author": "Victor Tao",
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-weread-plugin",
|
"id": "obsidian-weread-plugin",
|
||||||
"name": "Weread",
|
"name": "Weread",
|
||||||
"version": "0.9.0",
|
"version": "0.10.0",
|
||||||
"minAppVersion": "0.12.0",
|
"minAppVersion": "0.12.0",
|
||||||
"description": "This is obsidian plugin for Tencent weread.",
|
"description": "This is obsidian plugin for Tencent weread.",
|
||||||
"author": "hankzhao",
|
"author": "hankzhao",
|
||||||
|
17
.obsidian/plugins/templater-obsidian/main.js
vendored
17
.obsidian/plugins/templater-obsidian/main.js
vendored
@ -1743,6 +1743,12 @@ function arraymove(arr, fromIndex, toIndex) {
|
|||||||
function get_active_file(app2) {
|
function get_active_file(app2) {
|
||||||
return app2.workspace.activeEditor?.file ?? app2.workspace.getActiveFile();
|
return app2.workspace.activeEditor?.file ?? app2.workspace.getActiveFile();
|
||||||
}
|
}
|
||||||
|
function get_folder_path_from_file_path(path) {
|
||||||
|
const path_separator = path.lastIndexOf("/");
|
||||||
|
if (path_separator !== -1)
|
||||||
|
return path.slice(0, path_separator);
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
// src/settings/suggesters/FileSuggester.ts
|
// src/settings/suggesters/FileSuggester.ts
|
||||||
var FileSuggestMode;
|
var FileSuggestMode;
|
||||||
@ -2663,7 +2669,10 @@ var InternalModuleHooks = class extends InternalModule {
|
|||||||
}
|
}
|
||||||
generate_on_all_templates_executed() {
|
generate_on_all_templates_executed() {
|
||||||
return (callback_function) => {
|
return (callback_function) => {
|
||||||
const event_ref = app.workspace.on("templater:all-templates-executed", () => callback_function());
|
const event_ref = app.workspace.on("templater:all-templates-executed", async () => {
|
||||||
|
await delay(1);
|
||||||
|
callback_function();
|
||||||
|
});
|
||||||
if (event_ref) {
|
if (event_ref) {
|
||||||
this.event_refs.push(event_ref);
|
this.event_refs.push(event_ref);
|
||||||
}
|
}
|
||||||
@ -3582,7 +3591,11 @@ var Templater = class {
|
|||||||
}
|
}
|
||||||
const extension = template instanceof import_obsidian12.TFile ? template.extension || "md" : "md";
|
const extension = template instanceof import_obsidian12.TFile ? template.extension || "md" : "md";
|
||||||
const created_note = await errorWrapper(async () => {
|
const created_note = await errorWrapper(async () => {
|
||||||
const path = app.vault.getAvailablePath((0, import_obsidian12.normalizePath)(`${folder?.path ?? ""}/${filename ?? "Untitled"}`), extension);
|
const path = app.vault.getAvailablePath((0, import_obsidian12.normalizePath)(`${folder?.path ?? ""}/${filename || "Untitled"}`), extension);
|
||||||
|
const folder_path = get_folder_path_from_file_path(path);
|
||||||
|
if (folder_path && !app.vault.getAbstractFileByPathInsensitive(folder_path)) {
|
||||||
|
await app.vault.createFolder(folder_path);
|
||||||
|
}
|
||||||
return app.vault.create(path, "");
|
return app.vault.create(path, "");
|
||||||
}, `Couldn't create ${extension} file.`);
|
}, `Couldn't create ${extension} file.`);
|
||||||
if (created_note == null) {
|
if (created_note == null) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "templater-obsidian",
|
"id": "templater-obsidian",
|
||||||
"name": "Templater",
|
"name": "Templater",
|
||||||
"version": "2.2.1",
|
"version": "2.2.3",
|
||||||
"description": "Create and use templates",
|
"description": "Create and use templates",
|
||||||
"minAppVersion": "1.5.0",
|
"minAppVersion": "1.5.0",
|
||||||
"author": "SilentVoid",
|
"author": "SilentVoid",
|
||||||
|
4
.obsidian/themes/Minimal/manifest.json
vendored
4
.obsidian/themes/Minimal/manifest.json
vendored
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Minimal",
|
"name": "Minimal",
|
||||||
"version": "7.4.8",
|
"version": "7.5.2",
|
||||||
"minAppVersion": "1.5.0",
|
"minAppVersion": "1.5.4",
|
||||||
"author": "@kepano",
|
"author": "@kepano",
|
||||||
"authorUrl": "https://twitter.com/kepano",
|
"authorUrl": "https://twitter.com/kepano",
|
||||||
"fundingUrl": "https://www.buymeacoffee.com/kepano"
|
"fundingUrl": "https://www.buymeacoffee.com/kepano"
|
||||||
|
42
.obsidian/themes/Minimal/theme.css
vendored
42
.obsidian/themes/Minimal/theme.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user