vault backup: 2026-08-26 17:23:27

This commit is contained in:
2026-08-26 17:23:27 +08:00
parent d88c70d1c5
commit 90061b5521
39 changed files with 16512 additions and 5490 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"accentColor": "",
"cssTheme": "Minimal",
"monospaceFontFamily": "Maple Mono SC NF",
"monospaceFontFamily": "Maple Mono NF CN",
"theme": "system",
"interfaceFontFamily": "霞鹜文楷",
"textFontFamily": "霞鹜文楷等宽",
@@ -0,0 +1,172 @@
[
{
"id": "builtin-autopair-input",
"trigger": "[(《「『“”‘’《]",
"replacement": "const p={'【':'【$0】','':'$0','《':'《$0》','「':'「$0」','『':'『$0』','“':'“$0”','”':'“$0”','':'$0','':'$0','《':'《$0》'}; return p[leftMatches[0]];",
"options": "rF",
"priority": 10,
"description": "输入全角括号/引号时自动补全配对"
},
{
"id": "builtin-autopair-jump",
"trigger": "《》|“”|““|‘’|‘‘|()",
"trigger_right": "》|”||",
"replacement": "const map = {\n \"《》\": [\"》\", \"《》\"],\n \"()\": [\"\", \"()\"],\n \"“”\": [\"”\", \"“”\"],\n \"““\": [\"”\", \"“”\"],\n \"‘’\": [\"\", \"‘’\"],\n \"‘‘\": [\"\", \"‘’\"]\n}\nif(map[leftMatches[0]][0]==rightMatches[0]){\n return map[leftMatches[0]][1];\n}\nreturn undefined;",
"options": "rF",
"priority": 5,
"description": "输入右侧配对符号时自动跳过,避免重复插入"
},
{
"id": "builtin-autopair-delete",
"trigger": "[【(《「『“‘]",
"trigger_right": "[】)》」』”’]",
"replacement": "const p={'【':'】','':'','《':'》','「':'」','『':'』','“':'”','':''}; return p[leftMatches[0]]===rightMatches[0] ? '' : undefined;",
"options": "drF",
"priority": 10,
"description": "删除全角括号/引号时同时删除配对"
},
{
"id": "builtin-conv-backtick",
"trigger": "··",
"replacement": "`$0`",
"priority": 10,
"description": "连续中文间隔号 ·· 转行内代码"
},
{
"id": "builtin-conv-codeblock",
"trigger": "(?<=^|\\n)([ \\t]*)`·",
"trigger_right": "`",
"replacement": "[[1]]```$0\n[[1]]```",
"options": "r",
"priority": 10,
"description": "行内代码中继续输入 · 升级为代码块"
},
{
"id": "builtin-conv-formula",
"trigger": "(¥¥|¥¥|\\$¥|\\$¥|\\$\\$)",
"trigger_right": "\\$?",
"replacement": "return rightMatches[0] === '$' ? '$$\\n$0\\n$$' : '$$0$';",
"options": "rF",
"priority": 10,
"description": "¥/$ 符号组合转行内或块级公式"
},
{
"id": "builtin-conv-linestart",
"trigger": "(^|\\n)([》、])",
"replacement": "const m = {'》': '[[1]]> $0', '、': '[[1]]/$0'}; return m[leftMatches[2]];",
"options": "rF",
"priority": 10,
"description": "行首 》 转引用标记、行首 、 转斜杠"
},
{
"id": "builtin-conv-hw2fw",
"trigger": "([一-龥぀-ゟ゠-ヿ가-힯])([,.:?!;(])",
"trigger_right": "\\)?",
"replacement": "const m={',':'','.':'。','?':'','!':'',':':'',';':'','(':'$0'}; return leftMatches[1] + m[leftMatches[2]];",
"options": "rF",
"priority": 15,
"enabled": false,
"description": "CJK字符后半角标点转全角"
},
{
"id": "builtin-fw2hw-double",
"trigger": "([。!;,:?》|(《])\\1",
"trigger_right": "[)》]?",
"replacement": "const p={'':['','($0)'],'《':['》','<$0']};\nconst m={'。':'.$0','':'!$0','':';$0','':',$0','':':$0','':'?$0','》':'>$0','':'|$0','':'($0)','《':'<$0'};\nconst c=leftMatches[1],r=rightMatches[0]||'',e=p[c]; \nreturn e&&e[0]===r?e[1]:m[c];",
"options": "rF",
"priority": 3,
"description": "连续输入两个相同全角标点转对应半角"
},
{
"id": "builtin-del-inline-formula",
"trigger": "$",
"trigger_right": "$",
"replacement": "",
"options": "d",
"priority": 30,
"description": "删除行内公式 $...$ 配对"
},
{
"id": "builtin-del-highlight",
"trigger": "==",
"trigger_right": "==",
"replacement": "",
"options": "d",
"priority": 30,
"description": "删除高亮 ==...== 配对"
},
{
"id": "builtin-del-block-formula",
"trigger": "$$\n",
"trigger_right": "\n$$",
"replacement": "",
"options": "d",
"priority": 30,
"description": "删除块级公式 $$...$$ 配对"
},
{
"id": "builtin-del-codeblock",
"trigger": "(?<=^|\\n)([ \\t]*)```",
"trigger_right": "[ \\t]*\\n([ \\t]*)```",
"replacement": "[[1]]",
"options": "dr",
"priority": 30,
"description": "快速删除空代码块"
},
{
"id": "builtin-del-wikilink",
"trigger": " ?!?\\[\\[[^\\n\\[\\]]*\\]\\]",
"replacement": "",
"options": "dr",
"priority": 30,
"description": "快速删除双链及嵌入(![[]]"
},
{
"id": "builtin-sel-wrap-backtick",
"trigger": "·",
"replacement": "`${0:${SEL}}`",
"options": "s",
"priority": 40,
"description": "选中文字后输入 · 包裹为行内代码"
},
{
"id": "builtin-sel-wrap-symbols",
"trigger": "【¥¥",
"replacement": "const m={'¥': ['$', '$'], '¥': ['$', '$'], '【': ['[', ']']}; \nreturn m[key][0] + '${0:${SEL}}' + m[key][1];",
"options": "sF",
"priority": 40,
"description": "选中文字后输入 【/¥/¥ 包裹为 []/$$"
},
{
"id": "builtin-sel-wrap-quotes",
"trigger": "“”‘’",
"replacement": "const m={'“': ['“','”'], '”': ['“','”'], '': ['',''], '': ['','']}; return m[key][0] + '${0:${SEL}}' + m[key][1];",
"options": "sF",
"priority": 40,
"description": "选中文字后输入全角引号,配对引号包裹"
},
{
"id": "builtin-sel-wrap-cjk-brackets",
"trigger": "《(",
"replacement": "const m={'《': ['《','》'], '': ['','']}; return m[key][0] + '${0:${SEL}}' + m[key][1];",
"options": "sF",
"priority": 40,
"description": "选中文字后输入《(,配对括号包裹"
},
{
"id": "builtin-quote-convert",
"trigger": "((?:^|\\n)\\s*>*) ?[>》]",
"replacement": "[[1]]> $0",
"options": "r",
"priority": 50,
"description": "输入 > 或 》 转为 Markdown 引用标记"
},
{
"id": "builtin-quote-space",
"trigger": "((?:^|\\n)\\s*>+)([^ >》]+)",
"replacement": "[[1]] [[2]]$0",
"options": "r",
"priority": 50,
"description": "引用标记 > 后自动补空格"
}
]
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "easy-typing-obsidian",
"name": "Easy Typing",
"version": "5.5.15",
"version": "6.0.9",
"minAppVersion": "0.15.0",
"description": "This plugin aims to enhance and optimize the editing experience in Obsidian",
"author": "yaozhuwa",
+908 -1
View File
@@ -17,5 +17,912 @@ span[class="easy-typing-cursor-widget"] {
}
@keyframes blink {
50% { opacity: 0; }
50% {
opacity: 0;
}
}
/* ========== Settings Tab Navigation ========== */
.et-settings-shell {
display: flex;
flex-direction: column;
gap: 18px;
padding: 6px 0 16px;
}
.et-settings-hero {
padding: 18px 22px;
border-radius: 18px;
border: 1px solid color-mix(in srgb, var(--background-modifier-border) 88%, transparent);
background: linear-gradient(135deg, color-mix(in srgb, var(--background-primary) 84%, var(--interactive-accent) 16%), var(--background-primary));
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.et-settings-hero-main h1 {
margin: 0;
}
.et-settings-hero-meta {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 8px;
color: var(--text-muted);
}
.et-settings-hero-link {
font-weight: 600;
}
.et-settings-nav {
display: flex;
gap: 0;
margin: 0;
padding: 0 6px;
border-bottom: 2px solid var(--background-modifier-border);
flex-wrap: wrap;
}
.et-settings-tab-btn {
padding: 8px 18px;
border: none;
background: transparent;
cursor: pointer;
font-size: var(--font-ui-small);
color: var(--text-muted);
margin: 0 0 -2px;
border-bottom: 2px solid transparent;
transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
border-radius: 8px 8px 0 0;
text-align: center;
width: auto;
}
.et-settings-tab-btn:hover {
color: var(--text-normal);
background-color: var(--background-modifier-hover);
}
.et-settings-tab-btn.et-settings-tab-active {
color: var(--text-accent);
border-bottom-color: var(--text-accent);
background: color-mix(in srgb, var(--interactive-accent) 10%, var(--background-primary));
font-weight: var(--font-semibold);
}
.et-settings-content {
min-width: 0;
}
.et-settings-tab-panel.et-settings-tab-hidden {
display: none;
}
.et-settings-tab-panel {
display: flex;
flex-direction: column;
gap: 16px;
}
.et-settings-section {
border-radius: 18px;
border: 1px solid color-mix(in srgb, var(--background-modifier-border) 88%, transparent);
background: color-mix(in srgb, var(--background-primary) 95%, var(--background-secondary));
overflow: hidden;
}
.et-settings-section-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
gap: 16px;
padding: 18px 20px 12px;
border-bottom: 1px solid color-mix(in srgb, var(--background-modifier-border) 88%, transparent);
background: color-mix(in srgb, var(--background-secondary) 42%, var(--background-primary));
}
.et-settings-section-heading {
min-width: 0;
flex: 1 1 220px;
}
.et-settings-section-header h3 {
margin: 0;
padding: 0;
border: none;
color: var(--text-normal);
font-size: var(--font-ui-medium);
}
.et-settings-section-desc {
margin-top: 6px;
margin-bottom: 0;
}
.et-settings-section-actions {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
flex-wrap: wrap;
justify-content: flex-end;
align-self: flex-start;
margin-left: auto;
max-width: 100%;
}
.et-settings-section-actions>* {
flex: 0 0 auto;
}
.et-settings-section-body {
padding: 8px 20px 8px;
}
.et-settings-section-body>.setting-item:first-child {
border-top: none;
}
.et-settings-section-body .setting-item {
padding-top: 14px;
padding-bottom: 14px;
}
.et-settings-note {
white-space: pre-wrap;
margin: 6px 0 6px;
padding: 12px 14px;
border-radius: 12px;
border: 1px solid color-mix(in srgb, var(--background-modifier-border) 88%, transparent);
background: color-mix(in srgb, var(--background-secondary) 62%, var(--background-primary));
}
.et-settings-disabled {
opacity: 0.58;
}
.et-settings-disabled .setting-item-control {
filter: saturate(0.65);
}
.et-settings-disabled a {
pointer-events: none;
}
.et-setting-full-width {
display: grid;
grid-template-columns: minmax(0, 1fr);
}
.et-setting-full-width .setting-item-info {
width: 100%;
max-width: none;
}
.et-setting-full-width .setting-item-control {
width: 100%;
margin-top: 10px;
}
.et-inline-form-setting {
display: flex;
flex-wrap: wrap;
gap: 14px;
align-items: start;
}
.et-inline-form-setting .setting-item-info {
padding-right: 0;
flex: 0 1 220px;
min-width: 150px;
}
.et-inline-form-setting .setting-item-control {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
flex: 1 1 320px;
min-width: min(320px, 100%);
}
.et-inline-form-setting .setting-item-control>* {
flex: 1 1 140px;
}
.et-inline-form-setting .setting-item-control button {
flex: 0 0 auto;
}
.et-settings-textarea {
width: 100%;
min-height: 96px;
resize: vertical;
border-radius: 12px;
padding: 10px 12px;
line-height: 1.6;
}
.et-settings-textarea-compact {
min-height: 120px;
}
.et-settings-textarea-tall {
min-height: 280px;
}
.et-section-action-btn {
white-space: nowrap;
}
.et-section-icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 10px;
}
/* ========== Rule Type Tags ========== */
.et-rule-type-tag {
display: inline-block;
padding: 1px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
margin-right: 2px;
vertical-align: middle;
}
.et-rule-scope-tag {
display: inline-block;
padding: 1px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
margin-right: 2px;
vertical-align: middle;
}
.et-rule-scope-code {
background-color: rgba(59, 130, 246, 0.12);
color: #3b82f6;
border: 1px solid rgba(59, 130, 246, 0.24);
font-family: var(--font-monospace);
}
.et-rule-scope-formula {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(168, 85, 247, 0.12));
color: #7c3aed;
border: 1px solid rgba(124, 58, 237, 0.26);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.et-rule-type-input {
background-color: rgba(76, 175, 80, 0.15);
color: #4caf50;
border: 1px solid rgba(76, 175, 80, 0.3);
}
.et-rule-type-delete {
background-color: rgba(244, 67, 54, 0.15);
color: #f44336;
border: 1px solid rgba(244, 67, 54, 0.3);
}
.et-rule-type-selectkey {
background-color: rgba(255, 152, 0, 0.15);
color: #ff9800;
border: 1px solid rgba(255, 152, 0, 0.3);
}
.et-rule-type-fn {
background-color: rgba(156, 39, 176, 0.15);
color: #9c27b0;
border: 1px solid rgba(156, 39, 176, 0.3);
}
/* Rule Trigger Mode Tag */
.et-rule-trigger-mode {
display: inline-block;
padding: 1px 5px;
border-radius: 4px;
font-size: 10px;
font-weight: 500;
margin-right: 2px;
vertical-align: middle;
cursor: pointer;
user-select: none;
transition: background-color 0.15s ease, color 0.15s ease;
}
.et-trigger-mode-auto {
background-color: rgba(158, 158, 158, 0.15);
color: var(--text-muted);
border: 1px solid rgba(158, 158, 158, 0.3);
}
.et-trigger-mode-tab {
background-color: rgba(255, 152, 0, 0.15);
color: #ff9800;
border: 1px solid rgba(255, 152, 0, 0.3);
}
.et-rule-trigger-mode:hover {
filter: brightness(1.2);
}
/* Rule Drag and Drop */
.et-rule-drag-handle {
display: flex;
align-items: center;
justify-content: center;
cursor: grab;
color: var(--text-faint);
padding: 1px 0;
margin-right: 0;
width: 14px;
border-radius: 4px;
flex-shrink: 0;
}
.et-rule-drag-handle:hover {
color: var(--text-muted);
background-color: var(--background-modifier-hover);
}
.et-rule-drag-handle:active {
cursor: grabbing;
}
.et-rule-dragging {
opacity: 0.4;
}
.et-rule-drag-over-top {
box-shadow: 0 2px 0 0 var(--interactive-accent) inset;
}
.et-rule-drag-over-bottom {
box-shadow: 0 -2px 0 0 var(--interactive-accent) inset;
}
.et-rule-item .setting-item-name {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 2px;
white-space: normal;
overflow: visible;
text-overflow: unset;
}
.et-rule-item .setting-item-info {
min-width: 0;
}
.et-rule-item .setting-item-control {
flex-shrink: 0;
}
.et-rule-preview-text {
flex: 1 1 auto;
min-width: 0;
line-height: 1.4;
margin-left: 2px;
}
.et-deleted-rules summary {
cursor: pointer;
color: var(--text-muted);
font-size: var(--font-ui-small);
margin-top: 8px;
}
.et-deleted-rules .setting-item {
opacity: 0.7;
}
/* Function editor in rule modal */
.et-fn-editor-label {
display: block;
font-size: var(--font-ui-small);
color: var(--text-normal);
margin-bottom: 6px;
font-weight: var(--font-semibold);
}
/* Rule edit modal groups */
.et-modal-group {
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
padding: 4px 16px 12px;
margin-bottom: 16px;
}
.et-modal-group-title {
font-size: var(--font-ui-small);
font-weight: var(--font-semibold);
color: var(--text-muted);
padding: 8px 0 2px;
}
.et-modal-group .setting-item:last-child {
border-bottom: none;
}
.et-modal-group .et-modal-option-row {
padding: 8px 0;
min-height: unset;
}
.et-modal-group .et-modal-option-row .setting-item-name {
font-size: var(--font-ui-small);
color: var(--text-muted);
}
.et-fn-editor-container {
width: 100%;
}
.et-fn-editor-container .cm-editor {
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
}
.et-fn-editor-container .cm-editor.cm-focused {
border-color: var(--interactive-accent);
}
/* JS syntax highlighting in function editor */
.et-hl-keyword {
color: #c678dd;
}
.et-hl-string {
color: #98c379;
}
.et-hl-comment {
color: var(--text-faint);
font-style: italic;
}
.et-hl-number {
color: #d19a66;
}
/* ========== Language Pair Capsule UI ========== */
.et-lang-pair-capsules {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.et-lang-pair-capsule {
display: inline-flex;
align-items: center;
gap: 2px;
padding: 3px 6px 3px 12px;
border-radius: 16px;
font-size: var(--font-ui-small);
background-color: var(--background-primary);
border: 1px solid var(--background-modifier-border);
color: var(--text-normal);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
/* Slight elevation */
transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.et-lang-pair-capsule:hover {
border-color: var(--interactive-accent);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
}
.et-capsule-remove {
appearance: none;
-webkit-appearance: none;
border: none;
background: transparent;
cursor: pointer;
font-size: 14px;
line-height: 1;
color: var(--text-muted);
margin-left: 2px;
border-radius: 50%;
width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s ease, color 0.2s ease;
}
.et-capsule-remove:disabled {
cursor: default;
}
.et-capsule-remove:hover {
color: var(--text-on-accent);
background-color: var(--text-error);
}
.et-pair-selector-row {
margin-bottom: 6px;
}
.et-custom-scripts {
margin-bottom: 12px;
}
.et-custom-scripts .setting-item {
border: none;
padding: 4px 0;
}
/* ========== Settings UI Buttons ========== */
.et-reset-btn {
transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
box-shadow 0.2s ease,
background-color 0.2s ease,
color 0.2s ease;
border: 1px solid var(--background-modifier-border);
}
.et-reset-btn:hover {
background-color: rgba(220, 53, 69, 0.08);
/* Subtle red tint */
border-color: rgba(220, 53, 69, 0.3);
color: var(--text-error);
box-shadow: 0 2px 6px rgba(220, 53, 69, 0.1);
}
.et-reset-btn:active {
transform: scale(0.95);
background-color: rgba(220, 53, 69, 0.15);
}
/* ========== Rule Edit Modal: Pill Bar ========== */
.et-rule-edit-modal .modal-content {
padding-top: 18px;
}
.et-rule-edit-modal-content {
display: flex;
flex-direction: column;
gap: 14px;
}
/* .et-rule-edit-modal {
width: min(580px, calc(100vw - 32px));
} */
.et-rule-edit-header {
padding: 4px 2px 0;
}
.et-rule-edit-title {
margin: 0;
font-size: 1.35em;
line-height: 1.25;
letter-spacing: -0.01em;
}
.et-rule-edit-title:focus,
.et-rule-edit-title:focus-visible {
outline: none;
}
.et-pill-bar {
display: flex;
align-items: stretch;
gap: 10px;
padding: 0;
flex-wrap: wrap;
}
.et-pill-section {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
border-radius: 14px;
background: color-mix(in srgb, var(--background-secondary) 92%, var(--background-primary));
border: 1px solid var(--background-modifier-border);
flex-wrap: wrap;
}
.et-pill-options {
display: inline-flex;
align-items: stretch;
gap: 0;
padding: 3px;
border-radius: 11px;
background: var(--background-primary);
border: 1px solid color-mix(in srgb, var(--background-modifier-border) 88%, transparent);
position: relative;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
flex-wrap: wrap;
max-width: 100%;
}
.et-rule-edit-modal button.et-pill:not(.clickable-icon) {
position: relative;
z-index: 1;
padding: 7px 14px;
border-radius: 8px;
border: 0;
background: transparent !important;
background-color: transparent !important;
appearance: none;
-webkit-appearance: none;
box-shadow: none !important;
background-image: none !important;
cursor: pointer;
font-size: 12px;
color: color-mix(in srgb, var(--text-muted) 82%, var(--background-modifier-border));
line-height: 1.5;
font-weight: 500;
transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
white-space: nowrap;
}
.et-rule-edit-modal button.et-pill:not(.clickable-icon)+.et-pill::before {
content: '';
position: absolute;
left: 0;
top: 22%;
width: 1px;
height: 56%;
background: color-mix(in srgb, var(--background-modifier-border) 82%, transparent);
transition: opacity 0.18s ease;
}
.et-rule-edit-modal button.et-pill:not(.clickable-icon):hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
.et-rule-edit-modal button.et-pill:not(.clickable-icon):focus {
outline: none;
}
.et-rule-edit-modal button.et-pill:not(.clickable-icon):focus-visible {
outline: 2px solid color-mix(in srgb, var(--interactive-accent) 72%, white);
outline-offset: 1px;
}
.et-rule-edit-modal button.et-pill.et-pill-active:not(.clickable-icon) {
background: linear-gradient(180deg,
color-mix(in srgb, var(--interactive-accent) 32%, var(--background-primary)),
color-mix(in srgb, var(--interactive-accent) 18%, var(--background-primary)));
background-color: color-mix(in srgb, var(--interactive-accent) 18%, var(--background-primary)) !important;
color: color-mix(in srgb, var(--text-normal) 88%, black);
font-weight: 600;
box-shadow: none !important;
}
.et-rule-edit-modal button.et-pill.et-pill-active:not(.clickable-icon)::before,
.et-rule-edit-modal button.et-pill.et-pill-active:not(.clickable-icon)+.et-pill::before {
opacity: 0;
}
.et-rule-edit-modal button.et-pill.et-pill-active:not(.clickable-icon)::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.24),
inset 0 0 0 1px color-mix(in srgb, var(--background-modifier-border) 72%, white),
0 1px 2px rgba(0, 0, 0, 0.1);
pointer-events: none;
}
.et-pill-group-label {
font-size: 11px;
color: var(--text-faint);
margin-left: 2px;
margin-right: 2px;
user-select: none;
font-weight: 600;
letter-spacing: 0.02em;
white-space: nowrap;
}
/* ========== Rule Edit Modal: Group Header + Pill Chip ========== */
.et-modal-group-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 0 2px;
}
.et-modal-group-header .et-modal-group-title {
padding: 0;
}
.et-pill-chip {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 2px 8px 2px 10px;
border-radius: 10px;
border: 1px solid var(--background-modifier-border);
background: none;
cursor: pointer;
font-size: 12px;
color: var(--text-muted);
user-select: none;
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.et-pill-chip::after {
content: '';
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
border: 1.5px solid var(--text-faint);
flex-shrink: 0;
transition: background-color 0.15s ease, border-color 0.15s ease;
}
.et-pill-chip:hover {
border-color: var(--text-muted);
}
.et-pill-chip:hover::after {
border-color: var(--text-muted);
}
.et-pill-chip.et-pill-chip-active {
color: var(--text-normal);
border-color: var(--text-muted);
}
.et-pill-chip.et-pill-chip-active::after {
background-color: var(--text-muted);
border-color: var(--text-muted);
}
.et-scope-setting .setting-item-control {
flex: 1 1 auto;
min-width: 0;
}
.et-scope-options {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: auto;
margin-left: auto;
justify-content: flex-end;
}
/* ========== Rule Edit Modal: Compact Spacing ========== */
.et-hidden {
display: none !important;
}
.et-rule-edit-modal .modal-close-button {
top: 14px;
right: 14px;
}
.et-replacement-setting {
display: grid;
grid-template-columns: 1fr;
}
.et-replacement-setting .setting-item-info {
display: none;
}
.et-replacement-setting .setting-item-control {
margin-top: 0;
}
.et-replacement-textarea {
width: 100%;
min-height: 96px;
resize: vertical;
border-radius: 10px;
padding: 10px 12px;
line-height: 1.5;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.et-replacement-hint {
margin-top: -2px;
margin-bottom: 4px;
white-space: pre-line;
font-size: 12px;
line-height: 1.5;
color: var(--text-muted);
}
.et-fn-hint {
margin-top: 6px;
margin-bottom: 4px;
font-size: 12px;
font-family: var(--font-monospace);
white-space: pre-line;
line-height: 1.6;
color: var(--text-muted);
}
.et-rule-edit-modal .setting-item {
padding-top: 12px;
padding-bottom: 12px;
}
.et-rule-edit-modal .et-modal-group {
padding: 6px 18px 10px;
margin-bottom: 0;
border-radius: 14px;
background: linear-gradient(180deg, color-mix(in srgb, var(--background-secondary) 72%, transparent), color-mix(in srgb, var(--background-primary) 92%, transparent));
border-color: color-mix(in srgb, var(--background-modifier-border) 90%, transparent);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}
.et-rule-edit-modal .et-modal-group:hover {
border-color: color-mix(in srgb, var(--interactive-accent) 24%, var(--background-modifier-border));
}
/* ========== Rule Edit Modal: Input Optimizations ========== */
.et-rule-edit-modal .et-modal-group .setting-item-control {
flex-grow: 2;
}
.et-rule-edit-modal [data-field="trigger"] input,
.et-rule-edit-modal [data-field="triggerRight"] input,
.et-rule-edit-modal [data-field="scopeLanguage"] input,
.et-rule-edit-modal input[type="number"],
.et-rule-edit-modal .setting-item input[type="text"] {
font-family: var(--font-monospace);
border-radius: 10px;
min-height: 36px;
padding-left: 10px;
padding-right: 10px;
}
.et-rule-edit-modal .setting-item-info {
padding-right: 18px;
}
.et-rule-edit-modal .setting-item-name {
font-weight: 600;
}
.et-rule-edit-modal .setting-item-description {
line-height: 1.5;
}
.et-fn-editor-container .cm-editor {
border: 1px solid var(--background-modifier-border);
border-radius: 12px;
overflow: hidden;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.et-fn-editor-container .cm-scroller {
min-height: 160px;
}
.et-rule-edit-footer {
display: flex;
justify-content: flex-end;
padding-top: 2px;
}
.et-rule-edit-save {
min-width: 120px;
border-radius: 10px;
box-shadow: 0 10px 24px color-mix(in srgb, var(--interactive-accent) 18%, transparent);
}
@@ -0,0 +1 @@
[]
@@ -1,32 +1,42 @@
{
"attachmentFolderPath": "./assets/${noteFileName}",
"attachmentRenameMode": "Only pasted images",
"attachmentUnitFolderPaths": [],
"collectAttachmentUsedByMultipleNotesMode": "Skip",
"collectedAttachmentFileName": "",
"convertImagesToJpegMode": "None",
"customTokensStr": "",
"defaultImageSize": "",
"defaultImageSizeDimension": "width",
"downloadNetworkImages": false,
"duplicateNameSeparator": " ",
"emptyAttachmentFolderBehavior": "DeleteWithEmptyParents",
"emptyFolderBehavior": "DeleteWithEmptyParents",
"excludePaths": [],
"excludePathsFromAttachmentCollecting": [],
"generatedAttachmentFileName": "file-${date:YYYYMMDDHHmmssSSS}",
"excludePathsFromMultipleNotesCheck": [],
"generatedAttachmentFileName": "file-${date:{momentJsFormat:'YYYYMMDDHHmmssSSS'}}",
"includePaths": [],
"jpegQuality": 0.8,
"markdownUrlFormat": "",
"moveAttachmentToProperFolderUsedByMultipleNotesMode": "CopyAll",
"networkImageDownloadTimeoutInSeconds": 30,
"notePriorities": [],
"renamedAttachmentFileName": "",
"shouldConvertPastedImagesToJpeg": false,
"shouldDeleteOrphanAttachments": false,
"shouldHandleRenames": true,
"shouldPreserveImageMetadata": false,
"shouldRenameAttachmentFiles": true,
"shouldRenameAttachmentFolder": true,
"shouldRenameAttachmentsCreatedByOtherPlugins": false,
"shouldRenameCollectedAttachments": false,
"shouldRescueSharedAttachments": false,
"shouldSetLinkDisplayTextToAttachmentFileName": false,
"shouldSkipCollectingAttachmentsReferencedByRawPath": false,
"specialCharacters": "#^[]|*\\<>:?/",
"specialCharactersReplacement": "-",
"timeoutInSeconds": 5,
"treatAsAttachmentExtensions": [
".excalidraw.md"
],
"version": "9.24.0"
"version": "11.8.0"
}
File diff suppressed because one or more lines are too long
@@ -1,11 +1,11 @@
{
"id": "obsidian-custom-attachment-location",
"name": "Custom Attachment Location",
"version": "9.24.0",
"minAppVersion": "1.10.6",
"version": "11.8.0",
"minAppVersion": "1.13.7",
"description": "Customize attachment location with variables(${noteFileName}, ${date:format}, etc) like typora.",
"author": "RainCat1998",
"authorUrl": "https://github.com/RainCat1998/",
"author": "mnaoumov (created by RainCat1998)",
"authorUrl": "https://github.com/mnaoumov/",
"isDesktopOnly": false,
"fundingUrl": "https://www.buymeacoffee.com/mnaoumov"
}
+328 -12
View File
@@ -1,5 +1,16 @@
{
"showTabTitlebarButtons": true,
"copyLinkToElemenetAnchorTo100": false,
"copyFrameLinkByName": false,
"disableDoubleClickTextEditing": false,
"phoneFooterSafeAreaPadding": false,
"tabletFooterSafeAreaPadding": false,
"folder": "Excalidraw",
"libraryFolderPath": "Excalidraw/Libraries",
"libraryFileName": "local-library",
"libraryStorageMode": "vault",
"libraryMigrationStatus": "not-required",
"libraryMigrationSnoozeUntil": 0,
"cropFolder": "",
"annotateFolder": "",
"embedUseExcalidrawFolder": false,
@@ -21,12 +32,15 @@
"drawingFilnameEmbedPostfix": " ",
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
"useExcalidrawExtension": true,
"cropSuffix": "",
"cropPrefix": "cropped_",
"annotateSuffix": "",
"annotatePrefix": "annotated_",
"annotatePreserveSize": false,
"displaySVGInPreview": true,
"previewImageType": "SVGIMG",
"renderingConcurrency": 3,
"imageCacheRetentionDays": 30,
"allowImageCache": true,
"allowImageCacheInScene": true,
"displayExportedImageIfAvailable": false,
@@ -36,6 +50,9 @@
"overrideObsidianFontSize": false,
"dynamicStyling": "colorful",
"isLeftHanded": false,
"desktopUIMode": "tray",
"tabletUIMode": "compact",
"phoneUIMode": "mobile",
"iframeMatchExcalidrawTheme": true,
"matchTheme": false,
"matchThemeAlways": false,
@@ -45,6 +62,7 @@
"penModeDoubleTapEraser": true,
"penModeSingleFingerPanning": true,
"penModeCrosshairVisible": false,
"panWithRightMouseButton": false,
"renderImageInMarkdownReadingMode": false,
"renderImageInHoverPreviewForMDNotes": false,
"renderImageInMarkdownToPDF": false,
@@ -53,6 +71,9 @@
"zoomToFitOnOpen": true,
"zoomToFitOnResize": true,
"zoomToFitMaxLevel": 2,
"zoomStep": 0.05,
"zoomMin": 0.1,
"zoomMax": 30,
"linkPrefix": "📍",
"urlPrefix": "🌐",
"parseTODO": false,
@@ -65,12 +86,13 @@
"focusOnFileTab": false,
"openInMainWorkspace": true,
"showLinkBrackets": true,
"syncElementLinkWithText": false,
"allowCtrlClick": true,
"forceWrap": false,
"pageTransclusionCharLimit": 200,
"wordWrappingDefault": 0,
"removeTransclusionQuoteSigns": true,
"iframelyAllowed": true,
"oEmbedAllowed": false,
"pngExportScale": 1,
"exportWithTheme": true,
"exportWithBackground": true,
@@ -84,6 +106,7 @@
"embedType": "excalidraw",
"embedMarkdownCommentLinks": true,
"embedWikiLink": true,
"embedPlaceholderImage": true,
"syncExcalidraw": false,
"experimentalFileType": false,
"experimentalFileTag": "✏️",
@@ -95,6 +118,8 @@
"addDummyTextElement": false,
"zoteroCompatibility": false,
"fieldSuggester": true,
"enableOnloadScripts": false,
"enableCommandLinks": false,
"compatibilityMode": false,
"drawingOpenCount": 0,
"library": "deprecated",
@@ -111,16 +136,41 @@
"mdFontColor": "Black",
"mdBorderColor": "Black",
"mdCSS": "",
"markdownImageSettings": {
"defaults": {
"width": 500,
"paddingBottom": 10,
"fontFamily": "Virgil",
"fontColor": "Black",
"border": {
"enabled": false,
"color": "Black"
},
"css": "",
"transclusion": {
"enabled": false,
"fontFamily": "Cascadia",
"fontColor": "Black",
"border": {
"enabled": false,
"color": "Black"
},
"css": ""
}
}
},
"scriptEngineSettings": {},
"defaultTrayMode": true,
"previousRelease": "2.8.3",
"previousRelease": "2.26.4",
"showReleaseNotes": true,
"excalidrawMasteryPromoCollapsed": false,
"compareManifestToPluginVersion": true,
"showNewVersionNotification": true,
"latexBoilerplate": "\\color{blue}",
"latexPreambleLocation": "preamble.sty",
"taskboneEnabled": false,
"taskboneAPIkey": "",
"pinnedScripts": [],
"sidepanelTabs": [],
"customPens": [
{
"type": "default",
@@ -468,14 +518,278 @@
"markdownNodeOneClickEditing": false,
"canvasImmersiveEmbed": true,
"startupScriptPath": "",
"openAIAPIToken": "",
"openAIDefaultTextModel": "gpt-3.5-turbo-1106",
"openAIDefaultVisionModel": "gpt-4o",
"openAIDefaultImageGenerationModel": "dall-e-3",
"openAIURL": "https://api.openai.com/v1/chat/completions",
"openAIImageGenerationURL": "https://api.openai.com/v1/images/generations",
"openAIImageEditsURL": "https://api.openai.com/v1/images/edits",
"openAIImageVariationURL": "https://api.openai.com/v1/images/variations",
"aiEnabled": true,
"aiVerboseLogging": false,
"aiProviderProfiles": {
"OpenAI": {
"provider": "openai",
"apiKey": "",
"baseURL": "https://api.openai.com/v1"
},
"Anthropic": {
"provider": "anthropic",
"apiKey": "",
"baseURL": "https://api.anthropic.com/v1"
},
"Google Gemini": {
"provider": "google",
"apiKey": "",
"baseURL": "https://generativelanguage.googleapis.com/v1beta"
},
"xAI": {
"provider": "xai",
"apiKey": "",
"baseURL": "https://api.x.ai/v1"
},
"OpenAI-compatible": {
"provider": "openai-compatible",
"apiKey": "",
"baseURL": "https://api.openai.com/v1"
}
},
"aiTextModelConfigs": {
"gpt-5-mini": {
"providerId": "OpenAI",
"model": "gpt-5-mini",
"endpoint": "",
"multimodalSupport": true
},
"claude-sonnet-4-5": {
"providerId": "Anthropic",
"model": "claude-sonnet-4-5",
"endpoint": "",
"multimodalSupport": true
},
"gemini-2.5-pro": {
"providerId": "Google Gemini",
"model": "gemini-2.5-pro",
"endpoint": "",
"multimodalSupport": true
},
"grok-4-fast": {
"providerId": "xAI",
"model": "grok-4-fast",
"endpoint": "",
"multimodalSupport": true
},
"gpt-3.5-turbo-1106": {
"providerId": "OpenAI",
"model": "gpt-3.5-turbo-1106",
"endpoint": "",
"multimodalSupport": true
}
},
"aiImageModelConfigs": {
"dall-e-2": {
"providerId": "OpenAI",
"model": "dall-e-2",
"supportedSizes": [
"256x256",
"512x512",
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"dall-e-3": {
"providerId": "OpenAI",
"model": "dall-e-3",
"supportedSizes": [
"1024x1024",
"1792x1024",
"1024x1792"
],
"supportsPromptImageTransforms": false,
"supportsMaskImageEdits": false
},
"gpt-image-1": {
"providerId": "OpenAI",
"model": "gpt-image-1",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gpt-image-1-mini": {
"providerId": "OpenAI",
"model": "gpt-image-1-mini",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gpt-image-1.5": {
"providerId": "OpenAI",
"model": "gpt-image-1.5",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gpt-image-2": {
"providerId": "OpenAI",
"model": "gpt-image-2",
"supportedSizes": [
"1024x1024",
"1536x1024",
"1024x1536",
"2048x2048"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": true
},
"gemini-2.5-flash-image": {
"providerId": "Google Gemini",
"model": "gemini-2.5-flash-image",
"supportedSizes": [
"1024x1024",
"848x1264",
"1264x848",
"896x1200",
"1200x896",
"928x1152",
"1152x928",
"768x1376",
"1376x768",
"1584x672"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"gemini-3.1-flash-image-preview": {
"providerId": "Google Gemini",
"model": "gemini-3.1-flash-image-preview",
"supportedSizes": [
"512x512",
"1024x1024",
"2048x2048",
"4096x4096",
"424x632",
"848x1264",
"1696x2528",
"3392x5056",
"632x424",
"1264x848",
"2528x1696",
"5056x3392",
"448x600",
"896x1200",
"1792x2400",
"3584x4800",
"600x448",
"1200x896",
"2400x1792",
"4800x3584",
"464x576",
"928x1152",
"1856x2304",
"3712x4608",
"576x464",
"1152x928",
"2304x1856",
"4608x3712",
"384x688",
"768x1376",
"1536x2752",
"3072x5504",
"688x384",
"1376x768",
"2752x1536",
"5504x3072",
"792x168",
"1584x672",
"3168x1344",
"6336x2688",
"256x1024",
"512x2048",
"1024x4096",
"2048x8192",
"192x1536",
"384x3072",
"768x6144",
"1536x12288",
"1024x256",
"2048x512",
"4096x1024",
"8192x2048",
"1536x192",
"3072x384",
"6144x768",
"12288x1536"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"gemini-3-pro-image-preview": {
"providerId": "Google Gemini",
"model": "gemini-3-pro-image-preview",
"supportedSizes": [
"1024x1024",
"2048x2048",
"4096x4096",
"848x1264",
"1696x2528",
"3392x5056",
"1264x848",
"2528x1696",
"5056x3392",
"896x1200",
"1792x2400",
"3584x4800",
"1200x896",
"2400x1792",
"4800x3584",
"928x1152",
"1856x2304",
"3712x4608",
"1152x928",
"2304x1856",
"4608x3712",
"768x1376",
"1536x2752",
"3072x5504",
"1376x768",
"2752x1536",
"5504x3072",
"1584x672",
"3168x1344",
"6336x2688"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"grok-imagine-image-quality": {
"providerId": "xAI",
"model": "grok-imagine-image-quality",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
},
"grok-imagine-image-pro": {
"providerId": "xAI",
"model": "grok-imagine-image-pro",
"supportedSizes": [
"1024x1024"
],
"supportsPromptImageTransforms": true,
"supportsMaskImageEdits": false
}
},
"aiDefaultTextModel": "gpt-3.5-turbo-1106",
"aiDefaultImageGenerationModel": "dall-e-3",
"aiDefaultMaxOutgoingTokens": 0,
"aiDefaultMaxResponseTokens": 0,
"modifierKeyConfig": {
"Mac": {
"LocalFileDragAction": {
@@ -765,7 +1079,6 @@
"longPressDesktop": 500,
"longPressMobile": 500,
"doubleClickLinkOpenViewMode": true,
"isDebugMode": false,
"rank": "Bronze",
"modifierKeyOverrides": [
{
@@ -797,6 +1110,9 @@
"alignment": "center",
"margin": "normal"
},
"disableContextMenu": false,
"defaultTrayMode": true,
"isDebugMode": false,
"autosaveInterval": 15000,
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js"
}
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -1,9 +1,9 @@
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw",
"version": "2.18.3",
"minAppVersion": "1.5.7",
"description": "Sketch Your Mind. An Obsidian plugin to edit and view Excalidraw drawings. Enter the world of 4D Visual PKM.",
"version": "2.26.4",
"minAppVersion": "1.8.7",
"description": "Sketch Your Mind. Edit and view Excalidraw drawings. Enter the world of 4D Visual PKM.",
"author": "Zsolt Viczian",
"authorUrl": "https://excalidraw-obsidian.online",
"fundingUrl": "https://ko-fi.com/zsolt",
File diff suppressed because one or more lines are too long
+305 -304
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -6,5 +6,5 @@
"description": "Integrate Git version control with automatic backup and other advanced features.",
"isDesktopOnly": false,
"fundingUrl": "https://ko-fi.com/vinzent",
"version": "2.35.2"
"version": "2.39.0"
}
+517 -441
View File
@@ -72,6 +72,11 @@
height: 100%;
}
/* Re-enable wrapping of nav buttns to prevent overflow on smaller screens #*/
.workspace-drawer .git-view .nav-buttons-container {
flex-wrap: wrap;
}
.git-tools {
display: flex;
margin-left: auto;
@@ -94,7 +99,7 @@
display: flex;
}
.git-tools .buttons > * {
padding: 0 0;
padding: 0;
height: auto;
}
@@ -129,451 +134,419 @@
color: var(--text-accent);
}
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
display: none;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
background-color: var(--background-primary);
border-bottom: 1px solid var(--interactive-accent);
font-family: var(--font-monospace);
height: 35px;
padding: 5px 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
font-size: 14px;
margin-left: auto;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
border: 1px solid #b4e2b4;
border-radius: 5px 0 0 5px;
color: #399839;
padding: 2px;
text-align: right;
vertical-align: middle;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
border: 1px solid #e9aeae;
border-radius: 0 5px 5px 0;
color: #c33;
margin-left: 1px;
padding: 2px;
text-align: left;
vertical-align: middle;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 15px;
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
margin-bottom: 1em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
-webkit-box-pack: end;
-ms-flex-pack: end;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
cursor: pointer;
display: none;
font-size: 12px;
justify-content: flex-end;
padding: 4px 8px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
background-color: #c8e1ff;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
margin: 0 4px 0 0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
border-collapse: collapse;
font-family: Menlo, Consolas, monospace;
font-size: 13px;
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
overflow-y: hidden;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
display: inline-block;
margin-bottom: -8px;
margin-right: -4px;
overflow-x: scroll;
overflow-y: hidden;
width: 50%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
padding: 0 8em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: 100%;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
padding: 0 4.5em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
word-wrap: normal;
background: none;
display: inline-block;
padding: 0;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
vertical-align: middle;
white-space: pre;
width: 100%;
}
.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 {
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-side-line
del {
background-color: #8d232881;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
border-radius: 0.2em;
display: inline-block;
margin-top: -1px;
text-decoration: none;
vertical-align: middle;
}
.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 {
background-color: #97f295;
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-side-line
ins {
background-color: #1d921996;
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
word-wrap: normal;
background: none;
display: inline;
padding: 0;
white-space: pre;
}
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
float: left;
}
.workspace-leaf-content[data-type="diff-view"] .line-num1,
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
padding: 0 0.5em;
text-overflow: ellipsis;
width: 3.5em;
}
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
float: right;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-muted);
cursor: pointer;
display: inline-block;
position: absolute;
text-align: right;
width: 7.5em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
content: "\200b";
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-muted);
cursor: pointer;
display: inline-block;
overflow: hidden;
padding: 0 0.5em;
position: absolute;
text-align: right;
text-overflow: ellipsis;
width: 4em;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
position: relative;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
content: "\200b";
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
direction: rtl;
}
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #fee8e9;
border-color: #e9aeae;
}
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: #dfd;
border-color: #b4e2b4;
}
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #521b1d83;
border-color: #691d1d73;
}
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: rgba(30, 71, 30, 0.5);
border-color: #13501381;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
color: var(--text-normal);
}
.theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #fdf2d0;
}
.theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #55492480;
}
.theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: #ded;
}
.theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: rgba(37, 78, 37, 0.418);
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
margin-bottom: 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
color: #3572b0;
text-decoration: none;
}
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-list-wrapper
a:visited {
color: #3572b0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
font-weight: 700;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: left;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
display: block;
list-style: none;
margin: 0;
padding: 0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li {
border-bottom: 1px solid var(--background-modifier-border);
margin: 0;
padding: 5px 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list > li:last-child {
border-bottom: none;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
cursor: pointer;
display: none;
font-size: 10px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
fill: currentColor;
margin-right: 10px;
vertical-align: middle;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
color: #c33;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
color: #399839;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
color: #d0b44c;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
color: #3572b0;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
background-color: var(--background-primary);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 10px;
margin-left: 5px;
padding: 0 2px;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
border: 2px solid #c33;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
border: 1px solid #399839;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
border: 1px solid #d0b44c;
}
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
border: 1px solid #3572b0;
/* ====== diff2html ======
The following styles are adapted from the obsidian-version-history plugin by
@kometenstaub https://github.com/kometenstaub/obsidian-version-history-diff/blob/main/src/styles.scss
which itself is adapted from the diff2html library with the following original license:
https://github.com/rtfpessoa/diff2html/blob/master/LICENSE.md
Copyright 2014-2016 Rodrigo Fernandes https://rtfpessoa.github.io/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.theme-dark,
.theme-light {
--git-delete-bg: #ff475040;
--git-delete-hl: #96050a75;
--git-insert-bg: #68d36840;
--git-insert-hl: #23c02350;
--git-change-bg: #ffd55840;
--git-selected: #3572b0;
--git-delete: #cc3333;
--git-insert: #399839;
--git-change: #d0b44c;
--git-move: #3572b0;
}
.git-diff {
.d2h-d-none {
display: none;
}
.d2h-wrapper {
text-align: left;
border-radius: 0.25em;
overflow: auto;
}
.d2h-file-header.d2h-file-header {
background-color: var(--background-secondary);
border-bottom: 1px solid var(--background-modifier-border);
font-family:
Source Sans Pro,
Helvetica Neue,
Helvetica,
Arial,
sans-serif;
height: 35px;
padding: 5px 10px;
}
.d2h-file-header,
.d2h-file-stats {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.d2h-file-header {
display: none;
}
.d2h-file-stats {
font-size: 14px;
margin-left: auto;
}
.d2h-lines-added {
border: 1px solid var(--color-green);
border-radius: 5px 0 0 5px;
color: var(--color-green);
padding: 2px;
text-align: right;
vertical-align: middle;
}
.d2h-lines-deleted {
border: 1px solid var(--color-red);
border-radius: 0 5px 5px 0;
color: var(--color-red);
margin-left: 1px;
padding: 2px;
text-align: left;
vertical-align: middle;
}
.d2h-file-name-wrapper {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 15px;
width: 100%;
}
.d2h-file-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--text-normal);
font-size: var(--h5-size);
}
.d2h-file-wrapper {
border: 1px solid var(--background-secondary-alt);
border-radius: 3px;
margin-bottom: 1em;
max-height: 100%;
}
.d2h-file-collapse {
-webkit-box-pack: end;
-ms-flex-pack: end;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border: 1px solid var(--background-secondary-alt);
border-radius: 3px;
cursor: pointer;
display: none;
font-size: 12px;
justify-content: flex-end;
padding: 4px 8px;
}
.d2h-file-collapse.d2h-selected {
background-color: var(--git-selected);
}
.d2h-file-collapse-input {
margin: 0 4px 0 0;
}
.d2h-diff-table {
border-collapse: collapse;
font-family: var(--font-monospace);
font-size: var(--code-size);
width: 100%;
}
.d2h-files-diff {
width: 100%;
}
.d2h-file-diff {
/*
overflow-y: scroll;
*/
border-radius: 5px;
font-size: var(--font-text-size);
line-height: var(--line-height-normal);
}
.d2h-file-side-diff {
display: inline-block;
margin-bottom: -8px;
margin-right: -4px;
overflow-x: scroll;
overflow-y: hidden;
width: 50%;
}
.d2h-code-line {
padding-left: 6em;
padding-right: 1.5em;
}
.d2h-code-line,
.d2h-code-side-line {
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: 100%;
}
.d2h-code-side-line {
/* needed to be changed */
padding-left: 0.5em;
padding-right: 0.5em;
}
.d2h-code-line-ctn {
word-wrap: normal;
background: none;
display: inline-block;
padding: 0;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
vertical-align: middle;
width: 100%;
/* only works for line-by-line */
white-space: pre-wrap;
}
.d2h-code-line del,
.d2h-code-side-line del {
background-color: var(--git-delete-hl);
color: var(--text-normal);
}
.d2h-code-line del,
.d2h-code-line ins,
.d2h-code-side-line del,
.d2h-code-side-line ins {
border-radius: 0.2em;
display: inline-block;
margin-top: -1px;
text-decoration: none;
vertical-align: middle;
}
.d2h-code-line ins,
.d2h-code-side-line ins {
background-color: var(--git-insert-hl);
text-align: left;
}
.d2h-code-line-prefix {
word-wrap: normal;
background: none;
display: inline;
padding: 0;
white-space: pre;
}
.line-num1 {
float: left;
}
.line-num1,
.line-num2 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
/*
padding: 0 0.5em;
*/
text-overflow: ellipsis;
width: 2.5em;
padding-left: 0;
}
.line-num2 {
float: right;
}
.d2h-code-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-faint);
cursor: pointer;
display: inline-block;
position: absolute;
text-align: right;
width: 5.5em;
}
.d2h-code-linenumber:after {
content: "\200b";
}
.d2h-code-side-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-faint);
cursor: pointer;
overflow: hidden;
padding: 0 0.5em;
text-align: right;
text-overflow: ellipsis;
width: 4em;
/* needed to be changed */
display: table-cell;
position: relative;
}
.d2h-code-side-linenumber:after {
content: "\200b";
}
.d2h-code-side-emptyplaceholder,
.d2h-emptyplaceholder {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
}
.d2h-code-line-prefix,
.d2h-code-linenumber,
.d2h-code-side-linenumber,
.d2h-emptyplaceholder {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.d2h-code-linenumber,
.d2h-code-side-linenumber {
direction: rtl;
}
.d2h-del {
background-color: var(--git-delete-bg);
border-color: var(--git-delete-hl);
}
.d2h-ins {
background-color: var(--git-insert-bg);
border-color: var(--git-insert-hl);
}
.d2h-info {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
color: var(--text-faint);
}
.d2h-del,
.d2h-ins,
.d2h-file-diff .d2h-change {
color: var(--text-normal);
}
.d2h-file-diff .d2h-del.d2h-change {
background-color: var(--git-change-bg);
}
.d2h-file-diff .d2h-ins.d2h-change {
background-color: var(--git-insert-bg);
}
.d2h-file-list-wrapper {
a {
text-decoration: none;
cursor: default;
-webkit-user-drag: none;
}
svg {
display: none;
}
}
.d2h-file-list-header {
text-align: left;
}
.d2h-file-list-title {
display: none;
}
.d2h-file-list-line {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: left;
}
.d2h-file-list {
}
.d2h-file-list > li {
border-bottom: 1px solid var(--background-modifier-border);
margin: 0;
padding: 5px 10px;
}
.d2h-file-list > li:last-child {
border-bottom: none;
}
.d2h-file-switch {
cursor: pointer;
display: none;
font-size: 10px;
}
.d2h-icon {
fill: currentColor;
margin-right: 10px;
vertical-align: middle;
}
.d2h-deleted {
color: var(--git-delete);
}
.d2h-added {
color: var(--git-insert);
}
.d2h-changed {
color: var(--git-change);
}
.d2h-moved {
color: var(--git-move);
}
.d2h-tag {
background-color: var(--background-secondary);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 10px;
margin-left: 5px;
padding: 0 2px;
}
.d2h-deleted-tag {
border: 1px solid var(--git-delete);
}
.d2h-added-tag {
border: 1px solid var(--git-insert);
}
.d2h-changed-tag {
border: 1px solid var(--git-change);
}
.d2h-moved-tag {
border: 1px solid var(--git-move);
}
/* needed for line-by-line*/
.d2h-diff-tbody {
position: relative;
}
/* My additions */
.cm-merge-revert {
width: 4em;
}
/* Ensure that merge revert markers are positioned correctly */
.cm-merge-revert > * {
position: absolute;
background-color: var(--background-secondary);
display: flex;
}
}
/* ====================== Line Authoring Information ====================== */
.cm-gutterElement.obs-git-blame-gutter {
/* Add background color to spacing inbetween and around the gutter for better aesthetics */
border-width: 0px 2px 0.2px 2px;
border-width: 0px 2px 0.2px;
border-style: solid;
border-color: var(--background-secondary);
background-color: var(--background-secondary);
@@ -586,7 +559,7 @@
font-family: monospace;
height: 100%; /* ensure, that age-based background color occupies entire parent */
text-align: right;
padding: 0px 6px 0px 6px;
padding: 0px 6px;
white-space: pre; /* Keep spaces and do not collapse them. */
}
@@ -627,3 +600,106 @@
background: var(--interactive-hover);
color: var(--text-accent-hover);
}
.git-signs-gutter {
.cm-gutterElement {
display: grid;
/* Needed to align the sign properly for different line heigts. Such as
* when having a heading or list item.
*/
padding-top: 0 !important;
}
}
.git-gutter-marker:hover {
border-radius: 2px;
}
.git-gutter-marker.git-add {
background-color: var(--color-green);
justify-self: center;
height: inherit;
width: 0.2rem;
}
.git-gutter-marker.git-change {
background-color: var(--color-yellow);
justify-self: center;
height: inherit;
width: 0.2rem;
}
.git-gutter-marker.git-changedelete {
color: var(--color-yellow);
font-weight: var(--font-bold);
font-size: 1rem;
justify-self: center;
height: inherit;
}
.git-gutter-marker.git-delete {
background-color: var(--color-red);
height: 0.2rem;
width: 0.8rem;
align-self: end;
}
.git-gutter-marker.git-topdelete {
background-color: var(--color-red);
height: 0.2rem;
width: 0.8rem;
align-self: start;
}
div:hover > .git-gutter-marker.git-change {
width: 0.6rem;
}
div:hover > .git-gutter-marker.git-add {
width: 0.6rem;
}
div:hover > .git-gutter-marker.git-delete {
height: 0.6rem;
}
div:hover > .git-gutter-marker.git-topdelete {
height: 0.6rem;
}
div:hover > .git-gutter-marker.git-changedelete {
font-weight: var(--font-bold);
}
.git-gutter-marker.staged {
opacity: 0.5;
}
/* Prevent shifting of the editor when git signs gutter is the only gutter present */
.cm-gutters.cm-gutters-before:has(> .git-signs-gutter:only-child) {
margin-inline-end: 0;
.git-signs-gutter {
margin-inline-start: -1rem;
}
}
.git-changes-status-bar-colored {
.git-add {
color: var(--color-green);
}
.git-change {
color: var(--color-yellow);
}
.git-delete {
color: var(--color-red);
}
}
.git-changes-status-bar .git-add {
margin-right: 0.3em;
}
.git-changes-status-bar .git-change {
margin-right: 0.3em;
}
+9 -2
View File
@@ -68,7 +68,9 @@
"style": "Title Case",
"ignore-case-words": true,
"ignore-words": "macOS, iOS, iPhone, iPad, JavaScript, TypeScript, AppleScript, I",
"lowercase-words": "a, an, the, aboard, about, abt., above, abreast, absent, across, after, against, along, aloft, alongside, amid, amidst, mid, midst, among, amongst, anti, apropos, around, round, as, aslant, astride, at, atop, ontop, bar, barring, before, B4, behind, below, beneath, neath, beside, besides, between, 'tween, beyond, but, by, chez, circa, c., ca., come, concerning, contra, counting, cum, despite, spite, down, during, effective, ere, except, excepting, excluding, failing, following, for, from, in, including, inside, into, less, like, minus, modulo, mod, near, nearer, nearest, next, notwithstanding, of, o', off, offshore, on, onto, opposite, out, outside, over, o'er, pace, past, pending, per, plus, post, pre, pro, qua, re, regarding, respecting, sans, save, saving, short, since, sub, than, through, thru, throughout, thruout, till, times, to, t', touching, toward, towards, under, underneath, unlike, until, unto, up, upon, versus, vs., v., via, vice, vis-à-vis, wanting, with, w/, w., c̄, within, w/i, without, 'thout, w/o, abroad, adrift, aft, afterward, afterwards, ahead, apart, ashore, aside, away, back, backward, backwards, beforehand, downhill, downstage, downstairs, downstream, downward, downwards, downwind, east, eastward, eastwards, forth, forward, forwards, heavenward, heavenwards, hence, henceforth, here, hereby, herein, hereof, hereto, herewith, home, homeward, homewards, indoors, inward, inwards, leftward, leftwards, north, northeast, northward, northwards, northwest, now, onward, onwards, outdoors, outward, outwards, overboard, overhead, overland, overseas, rightward, rightwards, seaward, seawards, skywards, skyward, south, southeast, southwards, southward, southwest, then, thence, thenceforth, there, thereby, therein, thereof, thereto, therewith, together, underfoot, underground, uphill, upstage, upstairs, upstream, upward, upwards, upwind, west, westward, westwards, when, whence, where, whereby, wherein, whereto, wherewith, although, because, considering, given, granted, if, lest, once, provided, providing, seeing, so, supposing, though, unless, whenever, whereas, wherever, while, whilst, ago, according to, as regards, counter to, instead of, owing to, pertaining to, at the behest of, at the expense of, at the hands of, at risk of, at the risk of, at variance with, by dint of, by means of, by virtue of, by way of, for the sake of, for sake of, for lack of, for want of, from want of, in accordance with, in addition to, in case of, in charge of, in compliance with, in conformity with, in contact with, in exchange for, in favor of, in front of, in lieu of, in light of, in the light of, in line with, in place of, in point of, in quest of, in relation to, in regard to, with regard to, in respect to, with respect to, in return for, in search of, in step with, in touch with, in terms of, in the name of, in view of, on account of, on behalf of, on grounds of, on the grounds of, on the part of, on top of, with a view to, with the exception of, à la, a la, as soon as, as well as, close to, due to, far from, in case, other than, prior to, pursuant to, regardless of, subsequent to, as long as, as much as, as far as, by the time, in as much as, inasmuch, in order to, in order that, even, provide that, if only, whether, whose, whoever, why, how, or not, whatever, what, both, and, or, not only, but also, either, neither, nor, just, rather, no sooner, such, that, yet, is, it"
"lowercase-words": "a, an, the, aboard, about, abt., above, abreast, absent, across, after, against, along, aloft, alongside, amid, amidst, mid, midst, among, amongst, anti, apropos, around, round, as, aslant, astride, at, atop, ontop, bar, barring, before, B4, behind, below, beneath, neath, beside, besides, between, 'tween, beyond, but, by, chez, circa, c., ca., come, concerning, contra, counting, cum, despite, spite, down, during, effective, ere, except, excepting, excluding, failing, following, for, from, in, including, inside, into, less, like, minus, modulo, mod, near, nearer, nearest, next, notwithstanding, of, o', off, offshore, on, onto, opposite, out, outside, over, o'er, pace, past, pending, per, plus, post, pre, pro, qua, re, regarding, respecting, sans, save, saving, short, since, sub, than, through, thru, throughout, thruout, till, times, to, t', touching, toward, towards, under, underneath, unlike, until, unto, up, upon, versus, vs., v., via, vice, vis-à-vis, wanting, with, w/, w., c̄, within, w/i, without, 'thout, w/o, abroad, adrift, aft, afterward, afterwards, ahead, apart, ashore, aside, away, back, backward, backwards, beforehand, downhill, downstage, downstairs, downstream, downward, downwards, downwind, east, eastward, eastwards, forth, forward, forwards, heavenward, heavenwards, hence, henceforth, here, hereby, herein, hereof, hereto, herewith, home, homeward, homewards, indoors, inward, inwards, leftward, leftwards, north, northeast, northward, northwards, northwest, now, onward, onwards, outdoors, outward, outwards, overboard, overhead, overland, overseas, rightward, rightwards, seaward, seawards, skywards, skyward, south, southeast, southwards, southward, southwest, then, thence, thenceforth, there, thereby, therein, thereof, thereto, therewith, together, underfoot, underground, uphill, upstage, upstairs, upstream, upward, upwards, upwind, west, westward, westwards, when, whence, where, whereby, wherein, whereto, wherewith, although, because, considering, given, granted, if, lest, once, provided, providing, seeing, so, supposing, though, unless, whenever, whereas, wherever, while, whilst, ago, according to, as regards, counter to, instead of, owing to, pertaining to, at the behest of, at the expense of, at the hands of, at risk of, at the risk of, at variance with, by dint of, by means of, by virtue of, by way of, for the sake of, for sake of, for lack of, for want of, from want of, in accordance with, in addition to, in case of, in charge of, in compliance with, in conformity with, in contact with, in exchange for, in favor of, in front of, in lieu of, in light of, in the light of, in line with, in place of, in point of, in quest of, in relation to, in regard to, with regard to, in respect to, with respect to, in return for, in search of, in step with, in touch with, in terms of, in the name of, in view of, on account of, on behalf of, on grounds of, on the grounds of, on the part of, on top of, with a view to, with the exception of, à la, a la, as soon as, as well as, close to, due to, far from, in case, other than, prior to, pursuant to, regardless of, subsequent to, as long as, as much as, as far as, by the time, in as much as, inasmuch, in order to, in order that, even, provide that, if only, whether, whose, whoever, why, how, or not, whatever, what, both, and, or, not only, but also, either, neither, nor, just, rather, no sooner, such, that, yet, is, it",
"starting-word-ignore-characters": "'\"(‘“-",
"ending-word-ignore-characters": ".?!,:;'\")”’0123456789-"
},
"file-name-heading": {
"enabled": false
@@ -88,7 +90,8 @@
"enabled": false
},
"move-footnotes-to-the-bottom": {
"enabled": false
"enabled": false,
"include-blank-line-between-footnotes": false
},
"re-index-footnotes": {
"enabled": false
@@ -273,9 +276,13 @@
"lintOnSave": false,
"recordLintOnSaveLogs": false,
"displayChanged": true,
"suppressMessageWhenNoChange": false,
"suppressLintAllFilesConfirmationModal": false,
"suppressLintAllFilesInFolderConfirmationModal": false,
"lintOnFileChange": false,
"displayLintOnFileChangeNotice": false,
"settingsConvertedToConfigKeyValues": true,
"additionalFileExtensions": [],
"foldersToIgnore": [],
"filesToIgnore": [],
"linterLocale": "system-default",
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,8 +1,8 @@
{
"id": "obsidian-linter",
"name": "Linter",
"version": "1.30.0",
"minAppVersion": "1.9.0",
"version": "1.32.0",
"minAppVersion": "1.12.0",
"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",
"authorUrl": "https://github.com/platers",
+1 -1
View File
@@ -1 +1 @@
.linter-navigation-item{align-items:center;background-color:var(--background-primary-secondary-alt);border:1px solid var(--background-modifier-border);border-radius:100px;border-radius:8px 8px 2px 2px;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:700;gap:4px;height:32px;overflow:hidden;padding:4px 6px;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .35s cubic-bezier(.57,.04,.58,1);white-space:nowrap}@media screen and (max-width:1325px){.linter-navigation-item.linter-desktop{max-width:32px}}@media screen and (max-width:800px){.linter-navigation-item.linter-mobile{max-width:32px}}.linter-navigation-item-icon,.linter-warning{padding-top:5px}.linter-navigation-item:hover{border-color:var(--interactive-accent-hover);border-bottom:0}.linter-navigation-item-selected{background-color:var(--interactive-accent)!important;border:1px solid var(--background-modifier-border);border-bottom:0;border-radius:8px 8px 2px 2px;color:var(--text-on-accent);max-width:100%!important;padding:4px 9px!important;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .45s cubic-bezier(.57,.04,.58,1) .2s}.linter{transition:transform .4s 0s}.linter-setting-title{align-items:baseline;display:flex;gap:30px;justify-content:space-between}.linter-setting-title.linter-mobile{justify-content:space-around}.linter-setting-title h1{font-weight:900;margin-bottom:12px;margin-top:6px}.linter-setting-header{margin-bottom:24px;overflow-x:auto;overflow-y:hidden}.linter-setting-header .linter-setting-tab-group{align-items:flex-end;display:flex;flex-wrap:wrap;width:100%}.linter-setting-tab-group{border-bottom:2px solid var(--background-modifier-border);margin-top:6px;padding-left:2px;padding-right:2px}.linter-setting-header .linter-tab-settings{border-left:2px solid transparent;border-right:2px solid transparent;cursor:pointer;font-weight:600;padding:6px 12px;white-space:nowrap}.linter-setting-header .linter-tab-settings:first-child{margin-left:6px}.linter-setting-header .linter-tab-settings.linter-tab-settings-active{border:2px solid var(--background-modifier-border);border-bottom-color:var(--background-primary);border-radius:2px;transform:translateY(2px)}.linter-navigation-item:not(.linter-navigation-item-selected)>span:nth-child(2),.linter-visually-hidden{border:0;clip:rect(0 0 0 0);clip-path:rect(0 0 0 0);height:auto;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}textarea.full-width{margin-bottom:.8em;margin-top:.8em;min-height:10em;width:100%}.full-width-textbox-input-wrapper{position:relative}.settings-copy-button{margin:0 0 0 auto;padding:4px;position:absolute;right:.8em;top:.8em}.settings-copy-button svg.linter-clipboard path{fill:var(--text-faint)}.settings-copy-button svg.linter-success path{fill:var(--interactive-success)}.settings-copy-button:active,.settings-copy-button:hover{cursor:pointer}.settings-copy-button:active svg path,.settings-copy-button:hover svg path{fill:var(--text-accent-hover);transition:all .3s ease}.settings-copy-button:focus{outline:0}.linter-custom-regex-replacement-container div:last-child{border:none}.linter-custom-regex-replacement{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-custom-regex-replacement-row2{flex-wrap:wrap}.linter-custom-regex-replacement-normal-input{width:40%}.linter-custom-regex-replacement-flags{width:15%}.linter-custom-regex-replacement-label{flex-direction:row-reverse}.linter-custom-regex-replacement-label-input{width:50%}.linter-files-to-ignore-container div:last-child{border:none}.linter-files-to-ignore{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-files-to-ignore-normal-input{width:40%}.linter-files-to-ignore-flags{width:15%}.linter-no-border{border:none}.linter-border-bottom{border-bottom:1px solid var(--background-modifier-border);border-top:0;margin-bottom:.75em}.linter-no-padding-top{padding-top:0}.custom-row-description{margin-top:0}.modal-warn,.search-zero-state{font-weight:700}.modal-heading,.search-zero-state{text-align:center}
.linter-navigation-item{align-items:center;background-color:var(--background-primary-secondary-alt);border:1px solid var(--background-modifier-border);border-radius:100px;border-radius:8px 8px 2px 2px;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:700;gap:4px;height:32px;overflow:hidden;padding:4px 6px;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .35s cubic-bezier(.57,.04,.58,1);white-space:nowrap}@media screen and (max-width:1325px){.linter-navigation-item.linter-desktop{max-width:32px}}@media screen and (max-width:800px){.linter-navigation-item.linter-mobile{max-width:32px}}.linter-navigation-item-icon,.linter-warning{padding-top:5px}.linter-navigation-item:hover{border-color:var(--interactive-accent-hover);border-bottom:0}.linter-navigation-item-selected{background-color:var(--interactive-accent)!important;border:1px solid var(--background-modifier-border);border-bottom:0;border-radius:8px 8px 2px 2px;color:var(--text-on-accent);max-width:100%!important;padding:4px 9px!important;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .45s cubic-bezier(.57,.04,.58,1) .2s}.linter{transition:transform .4s 0s}.linter-setting-title{align-items:baseline;display:flex;gap:30px;justify-content:space-between}.linter-setting-title.linter-mobile{justify-content:space-around}.linter-setting-title h1{font-weight:900;margin-bottom:12px;margin-top:6px}.linter-setting-header{margin-bottom:24px;overflow-x:auto;overflow-y:hidden}.linter-setting-header .linter-setting-tab-group{align-items:flex-end;display:flex;flex-wrap:wrap;width:100%}.linter-setting-tab-group{border-bottom:2px solid var(--background-modifier-border);margin-top:6px;padding-left:2px;padding-right:2px}.linter-setting-header .linter-tab-settings{border-left:2px solid transparent;border-right:2px solid transparent;cursor:pointer;font-weight:600;padding:6px 12px;white-space:nowrap}.linter-setting-header .linter-tab-settings:first-child{margin-left:6px}.linter-setting-header .linter-tab-settings.linter-tab-settings-active{border:2px solid var(--background-modifier-border);border-bottom-color:var(--background-primary);border-radius:2px;transform:translateY(2px)}.linter-navigation-item:not(.linter-navigation-item-selected)>span:nth-child(2),.linter-visually-hidden{border:0;clip:rect(0 0 0 0);clip-path:rect(0 0 0 0);height:auto;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}textarea.full-width{margin-bottom:.8em;margin-top:.8em;min-height:10em;width:100%}.full-width-textbox-input-wrapper{position:relative}.settings-copy-button{margin:0 0 0 auto;padding:4px;position:absolute;right:.8em;top:.8em}.settings-copy-button svg.linter-clipboard path{fill:var(--text-faint)}.settings-copy-button svg.linter-success path{fill:var(--interactive-success)}.settings-copy-button:active,.settings-copy-button:hover{cursor:pointer}.settings-copy-button:active svg path,.settings-copy-button:hover svg path{fill:var(--text-accent-hover);transition:all .3s ease}.settings-copy-button:focus{outline:0}.linter-custom-regex-replacement-container div:last-child{border:none}.linter-custom-regex-replacement{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-custom-regex-replacement-row2{flex-wrap:wrap}.linter-custom-regex-replacement-normal-input{width:40%}.linter-custom-regex-replacement-flags{width:15%}.linter-custom-regex-replacement-label{flex-direction:row-reverse}.linter-custom-regex-replacement-label-input{width:50%}.linter-files-to-ignore-container div:last-child{border:none}.linter-files-to-ignore{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-files-to-ignore-normal-input{width:40%}.linter-files-to-ignore-flags{width:15%}.linter-no-border{border:none}.linter-border-bottom{border-bottom:1px solid var(--background-modifier-border);border-top:0;margin-bottom:.75em}.linter-no-padding-top{padding-top:0}.custom-row-description{margin-top:0}.modal-warn,.search-zero-state{font-weight:700}.modal-heading,.search-zero-state{text-align:center}.confirm-modal-checkbox-container{align-items:center;display:flex;gap:6px;margin-top:8px}
+1 -1
View File
@@ -3,7 +3,6 @@
"darkStyle": "minimal-dark",
"lightScheme": "minimal-gruvbox-light",
"darkScheme": "minimal-gruvbox-dark",
"editorFont": "",
"lineHeight": 1.5,
"lineWidth": 40,
"lineWidthWide": 50,
@@ -30,6 +29,7 @@
"folding": true,
"lineNumbers": true,
"readableLineLength": true,
"editorFont": "",
"devBlockWidth": false,
"theme": "moonstone",
"useSystemTheme": true
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,8 +1,8 @@
{
"id": "obsidian-minimal-settings",
"name": "Minimal Theme Settings",
"version": "8.1.1",
"minAppVersion": "1.1.9",
"version": "9.0.0",
"minAppVersion": "1.13.0",
"description": "Change the colors, fonts and features of Minimal Theme.",
"author": "@kepano",
"authorUrl": "https://www.twitter.com/kepano",
+3 -1
View File
@@ -1 +1,3 @@
/* Empty */
.setting-group > .setting-item-heading .setting-item-description {
margin-top: 4px;
}
+40 -20
View File
@@ -1665,7 +1665,8 @@ class CreateNewItem {
const childIsFolded = list.isFoldRoot();
const endPos = list.getLastLineContentEnd();
const endOfLine = cursor.line === endPos.line && cursor.ch === endPos.ch;
const onChildLevel = listIsZoomingRoot || (hasChildren && !childIsFolded && endOfLine);
const onChildLevel = this.after &&
(listIsZoomingRoot || (hasChildren && !childIsFolded && endOfLine));
const indent = onChildLevel
? hasChildren
? list.getChildren()[0].getFirstLineIndent()
@@ -1689,7 +1690,7 @@ class CreateNewItem {
list.addBeforeAll(newList);
}
else {
if (!childIsFolded || !endOfLine) {
if (this.after && (!childIsFolded || !endOfLine)) {
const children = list.getChildren();
for (const child of children) {
list.removeChild(child);
@@ -2751,7 +2752,7 @@ class VimOBehaviourOverride {
this.operationPerformer = operationPerformer;
this.inited = false;
this.handleSettingsChange = () => {
if (!this.settings.overrideVimOBehaviour) {
if (this.inited || !this.settings.overrideVimOBehaviour) {
return;
}
if (!window.CodeMirrorAdapter || !window.CodeMirrorAdapter.Vim) {
@@ -2765,28 +2766,22 @@ class VimOBehaviourOverride {
const operationPerformer = this.operationPerformer;
const settings = this.settings;
vim.defineAction("insertLineAfterBullet", (cm, operatorArgs) => {
// Move the cursor to the end of the line
vim.handleEx(cm, "normal! A");
if (!settings.overrideVimOBehaviour) {
if (operatorArgs.after) {
vim.handleEx(cm, "normal! o");
}
else {
vim.handleEx(cm, "normal! O");
}
const view = plugin.app.workspace.getActiveViewOfType(obsidian.MarkdownView);
const obsidianEditor = view === null || view === void 0 ? void 0 : view.editor;
if (!obsidianEditor) {
vim.enterInsertMode(cm);
return;
}
const view = plugin.app.workspace.getActiveViewOfType(obsidian.MarkdownView);
const editor = new MyEditor(view.editor);
this.moveCursorToLineEnd(obsidianEditor);
if (!settings.overrideVimOBehaviour) {
this.openPlainLine(obsidianEditor, operatorArgs.after);
vim.enterInsertMode(cm);
return;
}
const editor = new MyEditor(obsidianEditor);
const root = parser.parse(editor);
if (!root) {
if (operatorArgs.after) {
vim.handleEx(cm, "normal! o");
}
else {
vim.handleEx(cm, "normal! O");
}
this.openPlainLine(obsidianEditor, operatorArgs.after);
vim.enterInsertMode(cm);
return;
}
@@ -2823,6 +2818,31 @@ class VimOBehaviourOverride {
this.handleSettingsChange();
});
}
moveCursorToLineEnd(editor) {
const cursor = editor.getCursor();
editor.setCursor({
line: cursor.line,
ch: editor.getLine(cursor.line).length,
});
}
getLineIndent(line) {
return line.match(/^[ \t]*/)[0];
}
openPlainLine(editor, after) {
const cursor = editor.getCursor();
const line = editor.getLine(cursor.line);
const indent = this.getLineIndent(line);
if (after) {
const insertAt = { line: cursor.line, ch: line.length };
editor.replaceRange(`\n${indent}`, insertAt, insertAt);
editor.setCursor({ line: cursor.line + 1, ch: indent.length });
}
else {
const insertAt = { line: cursor.line, ch: 0 };
editor.replaceRange(`${indent}\n`, insertAt, insertAt);
editor.setCursor({ line: cursor.line, ch: indent.length });
}
}
unload() {
return __awaiter(this, void 0, void 0, function* () {
if (!this.inited) {
+2 -2
View File
@@ -1,8 +1,8 @@
{
"id": "obsidian-outliner",
"name": "Outliner",
"version": "4.9.0",
"minAppVersion": "1.8.7",
"version": "4.10.2",
"minAppVersion": "1.11.7",
"description": "Work with your lists like in Workflowy or RoamResearch.",
"author": "Viacheslav Slinko",
"authorUrl": "https://github.com/vslinko",
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,8 +1,8 @@
{
"id": "obsidian-quiet-outline",
"name": "Quiet Outline",
"version": "0.5.3",
"minAppVersion": "0.15.6",
"version": "0.5.18",
"minAppVersion": "1.7.2",
"description": "Make outline quiet and more powerful, including no-auto-expand, rendering heading as markdown, and search support.",
"author": "the_tree",
"authorUrl": "",
@@ -74,5 +74,39 @@
"item-1-0",
"item-2-2"
]
},
"Research/FSL/提示工程.md": {
"expandedKeys": [],
"cursor": {
"from": {
"line": 3,
"ch": 0
},
"to": {
"line": 3,
"ch": 0
}
}
},
"Record/未命名.md": {
"expandedKeys": []
},
"Record/CS231N/未命名.md": {
"expandedKeys": []
},
"Record/CS231N/正则化与优化.md": {
"cursor": {
"from": {
"line": 5,
"ch": 18
},
"to": {
"line": 5,
"ch": 18
}
},
"expandedKeys": [
"item-2-0"
]
}
}
+415 -251
View File
@@ -1,266 +1,430 @@
/* src/stalin.css */
.quiet-outline {
--custom-font-size: var(--nav-item-size);
--custom-font-family: inherit;
--custom-font-weight: inherit;
--custom-line-height: 1.6em;
--custom-line-gap: 0px;
--h1-color: inherit;
--h2-color: inherit;
--h3-color: inherit;
--h4-color: inherit;
--h5-color: inherit;
--h6-color: inherit;
}
.quiet-outline-tabs {
display: flex;
border-bottom: 1px solid var(--background-modifier-border);
margin-bottom: 16px;
}
.quiet-outline-tabs button {
background: none;
border: none;
padding: 8px 16px;
cursor: pointer;
color: var(--text-muted);
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
font-size: var(--font-ui-medium);
}
.quiet-outline-tabs button:hover {
color: var(--text-normal);
background-color: var(--background-modifier-hover);
}
.quiet-outline-tabs button.active {
color: var(--text-accent);
border-bottom-color: var(--text-accent);
font-weight: var(--font-semibold);
}
.quiet-outline-tab-content {
min-height: 400px;
}
.quiet-outline .n-tree {
font-size: var(--custom-font-size);
font-family: var(--custom-font-family);
font-weight: var(--custom-font-weight);
padding-top: 5px;
}
/* RTL language support */
.quiet-outline .n-tree .n-tree-node-content :is(p, h1, h2, h3, h4, h5) {
unicode-bidi: var(--d98dd3a0);
}
/* ============ */
/* 彩虹大纲线 */
/* rainbow line */
/* ============ */
.quiet-outline .n-tree .n-tree-node-indent {
content: "";
height: unset;
align-self: stretch;
}
.quiet-outline .n-tree-node-indent {
flex: 0 0 13px !important;
position: relative;
}
.quiet-outline .n-tree-node-indent::after {
content: "";
position: absolute;
height: 100%;
right: 8px;
}
:is(
.quiet-outline .level-2 .n-tree-node-indent:first-child,
.quiet-outline .level-3 .n-tree-node-indent:first-child,
.quiet-outline .level-4 .n-tree-node-indent:first-child,
.quiet-outline .level-5 .n-tree-node-indent:first-child,
.quiet-outline .level-6 .n-tree-node-indent:first-child
)::after {
border-right: var(--nav-indentation-guide-width) solid var(--v159969f5);
/* border-right: 2px solid rgb(253, 139, 31, 0.6); */
}
:is(
.quiet-outline .level-3 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-4 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-5 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(2)
)::after {
border-right: var(--nav-indentation-guide-width) solid var(--v159969f6);
/* border-right: 2px solid rgb(255, 223, 0, 0.6); */
}
:is(
.quiet-outline .level-4 .n-tree-node-indent:nth-child(3),
.quiet-outline .level-5 .n-tree-node-indent:nth-child(3),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(3)
)::after {
border-right: var(--nav-indentation-guide-width) solid var(--v159969f7);
/* border-right: 2px solid rgb(7, 235, 35, 0.6); */
}
:is(
.quiet-outline .level-5 .n-tree-node-indent:nth-child(4),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(4)
)::after {
border-right: var(--nav-indentation-guide-width) solid var(--v159969f8);
/* border-right: 2px solid rgb(45, 143, 240, 0.6); */
}
.quiet-outline .level-6 .n-tree-node-indent:nth-child(5)::after {
border-right: var(--nav-indentation-guide-width) solid var(--v159969f9);
/* border-right: 2px solid rgb(188, 1, 226, 0.6); */
}
/* located heading*/
.quiet-outline .n-tree {
color: var(--nav-item-color);
}
.quiet-outline .n-tree-node-wrapper {
padding: 0px;
border-radius: var(--nav-item-radius);
&:has(.n-tree-node.located) {
background-color: var(--nav-item-background-active);
}
.quiet-outline .n-tree-node.n-tree-node--selectable {
align-items: center;
}
.quiet-outline .n-tree-node .n-tree-node-content {
line-height: var(--custom-line-height);
min-height: 10px;
margin-bottom: var(--custom-line-gap);
}
.quiet-outline .n-tree-node-content__text p {
margin: 0;
}
.quiet-outline .n-tree.ellipsis {
overflow-x: hidden;
}
.quiet-outline .n-tree.ellipsis .n-tree-node .n-tree-node-content p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.quiet-outline .n-tree.ellipsis .n-tree-node-content__text {
overflow: hidden;
}
.quiet-outline .n-tree.ellipsis .n-tree-node-content {
overflow: hidden;
flex: 1;
}
.quiet-outline .n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--pending {
background-color: unset;
}
.quiet-outline .n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled):hover {
color: var(--nav-item-color-active);
background-color: var(--nav-item-background-active);
font-weight: var(--nav-item-weight-active);
}
.quiet-outline .function-bar {
display: flex;
align-items: center;
padding: 0px;
margin-bottom: 5px;
}
.quiet-outline .function-bar .n-button {
margin-right: 5px;
text-align: center;
}
.quiet-outline .function-bar .n-input {
flex: 1;
min-width: 10px;
}
.is-mobile .quiet-outline .function-bar .n-button {
margin-right: 5px;
text-align: center;
flex: 1;
}
.is-mobile .quiet-outline .function-bar .n-input {
min-width: 10px;
flex: none;
}
.quiet-outline .n-button__icon {
--n-icon-size: 22px;
font-size: 22px;
}
.quiet-outline .n-tree-node-content .n-input {
.n-input-wrapper {
padding: 0px;
}
.n-input__input-el {
line-height: var(--custom-line-height);
font-size: var(--custom-font-size);
height: var(--custom-line-height);
}
}
.quiet-outline code {
font-weight: bold;
font-family: var(--font-monospace);
background-color: var(--code-background);
border-radius: var(--radius-s);
}
.quiet-outline a.tag {
white-space: nowrap;
padding: 0.2em 0.6em;
}
.quiet-outline a:not(.tag) {
color: var(--link-external-color);
}
.quiet-outline span.internal-link {
color: var(--link-color);
}
.quiet-outline mark {
background-color: var(--text-highlight-bg);
color: var(--text-normal);
}
.n-tree .n-tree-node-switcher {
height: 0px;
}
.quiet-outline [class*=level-]:not(.level-1) .n-tree-node-content {
font-size: 1em;
}
.quiet-outline .level-1 .n-tree-node-content {
color: var(--h1-color);
}
.quiet-outline .level-2 .n-tree-node-content {
color: var(--h2-color);
}
.quiet-outline .level-3 .n-tree-node-content {
color: var(--h3-color);
}
.quiet-outline .level-4 .n-tree-node-content {
color: var(--h4-color);
}
.quiet-outline .level-5 .n-tree-node-content {
color: var(--h5-color);
}
.quiet-outline .level-6 .n-tree-node-content {
color: var(--h6-color);
}
.n-tree-node.located {
font-weight: bold !important;
:is(a) {
font-weight: bold !important;
}
}
.n-tree-node.located code {
font-weight: 1000 !important;
}
.n-tree-node.located mjx-math {
font-weight: bold !important;
}
.n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
background-color: transparent !important;
}
.n-tree.n-tree--block-line:focus .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
}
.view-content:has(.quiet-outline) {
padding-bottom: 0px;
}
.quiet-outline .n-tree.n-tree--block-node.n-tree--block-line {
padding-bottom: var(--size-4-8);
}
.quiet-outline {
height: 100%;
}
.quiet-outline #container {
height: 100%;
}
.quiet-outline .n-config-provider {
display: flex;
flex-direction: column;
height: 100%;
}
.quiet-outline .n-tree {
overflow: auto;
padding-inline: 2px;
}
.n-tree__empty {
display: none;
}
.canvas-node .markdown-embed-content .is-flashing {
mix-blend-mode: normal;
}
/* main.css */
.quiet-outline .n-tree {
padding-top: 5px;
}
.quiet-outline .n-tree .n-tree-node-indent {
content: "";
height: unset;
align-self: stretch;
}
.quiet-outline .n-tree .n-tree-node-content :is(p, h1, h2, h3, h4, h5) {
unicode-bidi: var(--61117f8c-biDi);
}
.quiet-outline .level-2 .n-tree-node-indent,
.quiet-outline .level-3 .n-tree-node-indent:first-child,
.quiet-outline .level-4 .n-tree-node-indent:first-child,
.quiet-outline .level-5 .n-tree-node-indent:first-child,
.quiet-outline .level-6 .n-tree-node-indent:first-child {
border-right: var(--nav-indentation-guide-width) solid var(--61117f8c-rainbowColor1);
}
.quiet-outline .level-3 .n-tree-node-indent,
.quiet-outline .level-4 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-5 .n-tree-node-indent:nth-child(2),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(2) {
border-right: var(--nav-indentation-guide-width) solid var(--61117f8c-rainbowColor2);
}
.quiet-outline .level-4 .n-tree-node-indent,
.quiet-outline .level-5 .n-tree-node-indent:nth-child(3),
.quiet-outline .level-6 .n-tree-node-indent:nth-child(3) {
border-right: var(--nav-indentation-guide-width) solid var(--61117f8c-rainbowColor3);
}
.quiet-outline .level-5 .n-tree-node-indent,
.quiet-outline .level-6 .n-tree-node-indent:nth-child(4) {
border-right: var(--nav-indentation-guide-width) solid var(--61117f8c-rainbowColor4);
}
.quiet-outline .level-6 .n-tree-node-indent {
border-right: var(--nav-indentation-guide-width) solid var(--61117f8c-rainbowColor5);
}
.n-tree-node.located p {
color: var(--61117f8c-locatedColor);
}
/* adjust indent */
/* .quiet-outline .n-tree .n-tree-node .n-tree-node-content {
padding-left: 0;
} */
.quiet-outline .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__prefix {
margin-right: 0;
margin-right: 0;
}
.quiet-outline .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__prefix > *:last-child {
margin-right: 8px;
margin-right: 8px;
}
.n-tree-node-switcher__icon {
display: flex;
align-items: center;
justify-content: center;
display: flex;
align-items: center;
justify-content: center;
}
/* Tab Styles */
/* Custom Style Variables */
.quiet-outline {
--custom-font-size: var(--nav-item-size);
--custom-font-family: inherit;
--custom-font-weight: inherit;
--custom-line-height: 1.6em;
--custom-line-gap: 0px;
--h1-color: inherit;
--h2-color: inherit;
--h3-color: inherit;
--h4-color: inherit;
--h5-color: inherit;
--h6-color: inherit;
}
/* src/main.css */
/* ConfirmModal: improve spacing/typography for a cleaner layout */
.quiet-outline-confirm-modal {
/* Slightly increase line-height for multi-line warnings */
line-height: 1.5;
}
/* Title spacing */
.quiet-outline-confirm-modal .modal-title {
margin-bottom: 8px;
}
/* Paragraph spacing (supports multi-paragraph messages) */
.quiet-outline-confirm-modal p {
margin: 0;
}
/* Spacing between paragraphs */
.quiet-outline-confirm-modal p + p {
margin-top: 10px;
}
/* ConfirmModal: right-aligned buttons with spacing + vertically centered icons */
.quiet-outline-confirm-modal .quiet-outline-confirm-modal__buttons {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 14px;
}
/* Make buttons feel consistent and aligned */
.quiet-outline-confirm-modal .quiet-outline-confirm-modal__buttons button {
display: inline-flex;
align-items: center;
min-height: 30px;
}
/* Add spacing between icon and label, and keep the icon vertically centered */
.quiet-outline-confirm-modal .quiet-outline-confirm-modal__btn-icon {
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 6px;
}
/* Fix SVG baseline alignment so it appears visually centered inside the button */
.quiet-outline-confirm-modal .quiet-outline-confirm-modal__btn-icon svg {
display: block;
}
.quiet-outline-tabs {
display: flex;
border-bottom: 1px solid var(--background-modifier-border);
margin-bottom: 16px;
}
.quiet-outline-tabs button {
background: none;
border: none;
padding: 8px 16px;
cursor: pointer;
color: var(--text-muted);
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
font-size: var(--font-ui-medium);
}
.quiet-outline-tabs button:hover {
color: var(--text-normal);
background-color: var(--background-modifier-hover);
}
.quiet-outline-tabs button.active {
color: var(--text-accent);
border-bottom-color: var(--text-accent);
font-weight: var(--font-semibold);
}
.quiet-outline-export-format-input {
width: 100%;
}
.quiet-outline-tab-content {
min-height: 400px;
}
.quiet-outline-setting-group {
border-radius: var(--radius-m);
background-color: var(--background-secondary);
}
.quiet-outline-setting-group .setting-item:not(:first-child) {
padding-left: 32px;
}
.quiet-outline .n-tree {
font-size: var(--custom-font-size);
font-family: var(--custom-font-family);
font-weight: var(--custom-font-weight);
}
.quiet-outline .n-tree-node-wrapper {
padding: 0px;
}
.quiet-outline .n-tree-node.n-tree-node--selectable {
align-items: center;
}
/* heading的间距,通过行高来设置 */
/* heading line spacing */
.quiet-outline .n-tree-node .n-tree-node-content {
line-height: var(--custom-line-height);
min-height: 10px;
margin-bottom: var(--custom-line-gap);
}
.quiet-outline .n-tree-node-content__text p {
margin: 0;
}
/* ellipsis */
.quiet-outline .n-tree.ellipsis {
overflow-x: hidden;
}
.quiet-outline .n-tree.ellipsis .n-tree-node .n-tree-node-content p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.quiet-outline .n-tree.ellipsis .n-tree-node-content__text {
overflow: hidden;
}
.quiet-outline .n-tree.ellipsis .n-tree-node-content {
overflow: hidden;
flex: 1;
}
.quiet-outline
.n-tree.n-tree--block-line
.n-tree-node:not(.n-tree-node--disabled).n-tree-node--pending {
background-color: unset;
}
/* 悬浮时的背景颜色 */
.quiet-outline
.n-tree.n-tree--block-line
.n-tree-node:not(.n-tree-node--disabled):hover {
color: var(--nav-item-color-active);
background-color: var(--nav-item-background-active);
font-weight: var(--nav-item-weight-active);
}
/* 功能栏 */
.quiet-outline .function-bar {
display: flex;
align-items: center;
padding: 0px;
margin-bottom: 5px;
}
.quiet-outline .function-bar .n-button {
margin-right: 5px;
text-align: center;
}
.quiet-outline .function-bar .n-input {
flex: 1;
min-width: 10px;
}
/* avoid <input> style overriding by theme */
.quiet-outline .function-bar input[type="text"] {
&:hover,
&:focus {
background-color: transparent;
box-shadow: none;
border: none;
}
background-color: transparent;
box-shadow: none;
border: none;
}
/* 图标大小 */
.quiet-outline .n-button__icon {
--n-icon-size: 22px;
font-size: 22px;
}
.quiet-outline .n-tree-node-content .n-input {
.n-input-wrapper {
padding: 0px;
/*padding-left: 4px;
padding-right: 4px;*/
}
.n-input__input-el {
line-height: var(--custom-line-height);
font-size: var(--custom-font-size);
height: var(--custom-line-height);
}
}
.quiet-outline code {
/* color:var(--text-color-code, var(--code-normal)); */
font-weight: bold;
/* font-size: var(--font-size-code, var(--code-size)); */
font-family: var(--font-monospace);
background-color: var(--code-background);
border-radius: var(--radius-s);
}
.quiet-outline a.tag {
white-space: nowrap;
padding: 0.2em 0.6em;
}
.quiet-outline a:not(.tag) {
color: var(--link-external-color);
}
.quiet-outline span.internal-link {
color: var(--link-color);
}
.quiet-outline mark {
background-color: var(--text-highlight-bg);
color: var(--text-normal);
}
/* ===================== */
/* 对不同级别标题进行设置 */
/* ===================== */
.n-tree .n-tree-node-switcher {
height: 0px;
}
/* 设置除一级标题之外的所有标题 */
/* setting h2-h6 */
.quiet-outline [class*="level-"]:not(.level-1) .n-tree-node-content {
/*
color: red;
font-weight:bold;
*/
font-size: 1em;
}
/* Custom font colors for different heading levels */
.quiet-outline .level-1 .n-tree-node-content {
color: var(--h1-color);
}
.quiet-outline .level-2 .n-tree-node-content {
color: var(--h2-color);
}
.quiet-outline .level-3 .n-tree-node-content {
color: var(--h3-color);
}
.quiet-outline .level-4 .n-tree-node-content {
color: var(--h4-color);
}
.quiet-outline .level-5 .n-tree-node-content {
color: var(--h5-color);
}
.quiet-outline .level-6 .n-tree-node-content {
color: var(--h6-color);
}
/* location */
.n-tree.n-tree--block-line
.n-tree-node-wrapper
.n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
background-color: transparent;
}
.n-tree.n-tree--block-line:focus
.n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
}
.view-content:has(.quiet-outline) {
padding-bottom: 0px;
}
.quiet-outline .n-tree.n-tree--block-node.n-tree--block-line {
padding-bottom: var(--size-4-8);
}
/* 固定功能栏 */
.quiet-outline {
height: 100%;
}
.quiet-outline .n-config-provider {
display: flex;
flex-direction: column;
height: 100%;
}
.quiet-outline .n-tree {
overflow: auto;
padding-inline: 2px;
}
/*remove 'no data'*/
.n-tree__empty {
display: none;
}
/*fix content blur in canvas embed markdown*/
.canvas-node .markdown-embed-content .is-flashing {
mix-blend-mode: normal;
}
/* experimental */
/*$vite$:1*/
File diff suppressed because one or more lines are too long
+3 -5
View File
@@ -3,15 +3,13 @@
"name": "Advanced Tables",
"author": "Tony Grosinger",
"authorUrl": "https://grosinger.net",
"description": "Improved table navigation, formatting, manipulation, and formulas",
"description": "Improved table navigation, formatting, manipulation, and formulas.",
"isDesktopOnly": false,
"minAppVersion": "1.0.0",
"version": "0.22.1",
"js": "main.js",
"version": "0.23.2",
"fundingUrl": {
"Github Sponsor": "https://github.com/sponsors/tgrosinger",
"Buy me a Coffee": "https://buymeacoffee.com/tgrosinger",
"Paypal": "https://paypal.me/tgrosinger"
},
"donation": "https://buymeacoffee.com/tgrosinger"
}
}
+1 -1
View File
@@ -15,7 +15,7 @@
}
[data-type="advanced-tables-toolbar"] .nav-buttons-container {
column-gap: 0.2rem;
gap: 0.2rem;
margin: 0.2rem 0 0.2rem 0;
justify-content: start;
}
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "Minimal",
"version": "8.1.2",
"minAppVersion": "1.9.0",
"version": "9.0.2",
"minAppVersion": "1.13.0",
"author": "@kepano",
"authorUrl": "https://twitter.com/kepano",
"fundingUrl": "https://www.buymeacoffee.com/kepano"
+6505 -47
View File
File diff suppressed because one or more lines are too long
+3 -1
View File
@@ -24,6 +24,8 @@
"excalidraw-open-md": "checkbox",
"excalidraw-export-embed-scene": "checkbox",
"excalidraw-embeddable-theme": "text",
"createAt": "date"
"createAt": "date",
"excalidraw-export-internal-links": "checkbox",
"excalidraw-embed-md": "checkbox"
}
}
+18 -13
View File
@@ -22,15 +22,17 @@
}
},
{
"id": "4ba4aa015b78cdec",
"id": "3e4570c564af2e25",
"type": "leaf",
"state": {
"type": "release-notes",
"type": "markdown",
"state": {
"currentVersion": "1.12.7"
"file": "Record/CS231N/正则化与优化.md",
"mode": "source",
"source": false
},
"icon": "lucide-book-up",
"title": "版本说明 1.12.7"
"icon": "lucide-file",
"title": "正则化与优化"
}
}
],
@@ -54,7 +56,9 @@
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical",
"autoReveal": false
"autoReveal": false,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-folder-closed",
"title": "文件列表"
@@ -207,17 +211,21 @@
"table-editor-obsidian:Advanced Tables Toolbar": false,
"notion-like-tables:Create loom": false,
"obsidian-git:Open Git source control": false,
"obsidian-excalidraw-plugin:New drawing": false
"obsidian-excalidraw-plugin:New drawing": false,
"obsidian-excalidraw-plugin:新建绘图文件": false
}
},
"active": "4ba4aa015b78cdec",
"active": "3e4570c564af2e25",
"lastOpenFiles": [
"Research/FSL/提示工程.md",
"Record/CS231N/正则化与优化.md",
"Record/CS231N",
"Record/未命名.md",
"Paper/FSL Image Classification/heidariLearningCleanReinforcement2025.md",
"Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
"Paper/FSL Image Classification/heidariLearningCleanReinforcement2025.md",
"Untitled.md",
"Books/代码随想录/代码模版.md",
"Research/FSL/提示工程.md",
"Research/FSL",
"Research",
"conflict-files-obsidian-git.md",
@@ -245,10 +253,7 @@
"Paper/FSL Image Classification",
"Paper",
"Books/代码随想录/数组.md",
"Books/代码随想录",
"Paper/Open-Vocabulary Semantic Segmentation.md",
"Books/动手学深度学习/引言.md",
"Paper/未命名.md",
"Books/动手学深度学习/基础概念.md"
"Books/动手学深度学习/引言.md"
]
}
+6
View File
@@ -0,0 +1,6 @@
## 正则化项
### 简单的正则化项目
- $L_1$正则化
- $L_2$正则化
### 目的
牺牲训练集表现,换取更好的泛化性能。