fix broken wikilinks in LLM_Evaluation zone; update Obsidian plugins
- Rewrite folder-relative wikilinks (resolved from vault root) to unique basenames or full vault-root paths so they actually resolve in Obsidian - Fix malformed table links with spaces around the | alias separator - Plugin updates from Obsidian (any-block, omnisearch, quickadd, etc.)
This commit is contained in:
+62
-13
@@ -21,6 +21,7 @@
|
||||
:root {
|
||||
--ab-tab-root-bg-color: #0d1117;
|
||||
--ab-tab-root-bd-color: #34343f;
|
||||
--ab-tab-root-hv-color: #363639;
|
||||
--ab-tab-root-tx-color: #9e9e9e;
|
||||
--ab-bright-color: orange;
|
||||
--pre-background-color: #1b1b1b;
|
||||
@@ -41,6 +42,10 @@
|
||||
--ab-table-border-color: var(--table-border-color);
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--ab-tab-root-hv-color: #d7d7d7;
|
||||
}
|
||||
|
||||
html[data-theme=light] #app,
|
||||
html[data-theme=dark] #app {
|
||||
--ab-tab-root-bg-color: var(--vp-c-bg);
|
||||
@@ -59,6 +64,7 @@ html[data-theme=light] #app {
|
||||
--color-blue: #086ddd;
|
||||
--color-purple: #7852ee;
|
||||
--color-pink: #d53984;
|
||||
--ab-tab-root-hv-color: #d7d7d7;
|
||||
}
|
||||
|
||||
html[data-theme=dark] #app {
|
||||
@@ -72,6 +78,10 @@ html[data-theme=dark] #app {
|
||||
--color-pink: #fa99cd;
|
||||
}
|
||||
|
||||
.ab-hide {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* obsidian各模式下的微调
|
||||
*
|
||||
@@ -107,6 +117,7 @@ html[data-theme=dark] #app {
|
||||
/**
|
||||
* 替换内容
|
||||
* .ab-replace // 整体 (外框、圆角)
|
||||
* &>.ab-note // id (仅调试模式用)
|
||||
* &>.ab-note // 内容
|
||||
* &>.ab-replaceEl // 内容 (感觉冗余了)
|
||||
* &>.ab-button // 操作控件 (刷新/编辑/下拉框)
|
||||
@@ -116,6 +127,20 @@ html[data-theme=dark] #app {
|
||||
position: relative;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.ab-replace > .ab-id {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: inline-block;
|
||||
height: 18px;
|
||||
width: auto;
|
||||
background: var(--ab-tab-root-bg-color);
|
||||
color: var(--ab-tab-root-tx-color);
|
||||
border-radius: 8px;
|
||||
padding: 0 8px;
|
||||
z-index: 10;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.ab-replace > .ab-note {
|
||||
position: relative;
|
||||
/*padding: 24px 12px 12px 12px;*/
|
||||
@@ -134,6 +159,15 @@ html[data-theme=dark] #app {
|
||||
.ab-replace > .ab-button.ab-button-3 {
|
||||
right: 76px;
|
||||
}
|
||||
.ab-replace > .ab-button.ab-button-4 {
|
||||
right: 112px;
|
||||
}
|
||||
.ab-replace > .ab-button.ab-button-5 {
|
||||
right: 148px;
|
||||
}
|
||||
.ab-replace > .ab-button.ab-button-6 {
|
||||
right: 184px;
|
||||
}
|
||||
.ab-replace > .ab-button.ab-button-select > * {
|
||||
padding: 0 10px;
|
||||
width: 24px;
|
||||
@@ -254,12 +288,14 @@ html[data-theme=dark] #app {
|
||||
.ab-note table.ab-table td, .ab-note table.ab-table th {
|
||||
white-space: normal;
|
||||
overflow-wrap: break-word;
|
||||
padding: 2px 5px;
|
||||
border: solid var(--ab-table-border-width) var(--ab-table-border-color);
|
||||
}
|
||||
.ab-note table.ab-table td code, .ab-note table.ab-table th code {
|
||||
white-space: pre;
|
||||
}
|
||||
.ab-note table.ab-table td, .ab-note table.ab-table th {
|
||||
padding: 2px 5px;
|
||||
border: solid var(--ab-table-border-width) var(--ab-table-border-color);
|
||||
}
|
||||
.ab-note table.ab-table tr {
|
||||
background: none;
|
||||
}
|
||||
@@ -418,8 +454,8 @@ html[data-theme=dark] #app {
|
||||
padding-top: 4px;
|
||||
}
|
||||
.ab-note table.ab-list-table.ab-table-folder .ab-foldable-tr .ab-list-table-svg svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
width: 13px;
|
||||
height: 16px;
|
||||
fill: var(--ab-bright-color);
|
||||
}
|
||||
.ab-note table.ab-list-table.ab-table-folder .ab-foldable-tr td:first-child {
|
||||
@@ -653,6 +689,12 @@ html[data-theme=dark] #app {
|
||||
column-count: 4;
|
||||
-moz-column-gap: 10px;
|
||||
column-gap: 10px;
|
||||
}
|
||||
.ab-note .ab-items.ab-card.ab-lay-vfall:not(.ab-hfall) .ab-items-item {
|
||||
-moz-column-break-inside: avoid;
|
||||
break-inside: avoid-column;
|
||||
}
|
||||
.ab-note .ab-items.ab-card.ab-lay-vfall:not(.ab-hfall) {
|
||||
/*display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-gap: 1rem; // 间隙
|
||||
@@ -676,19 +718,15 @@ html[data-theme=dark] #app {
|
||||
&:nth-child(4n+0){ order: 4; }
|
||||
}*/
|
||||
}
|
||||
.ab-note .ab-items.ab-card.ab-lay-vfall:not(.ab-hfall) .ab-items-item {
|
||||
-moz-column-break-inside: avoid;
|
||||
break-inside: avoid-column;
|
||||
.ab-note .ab-items.ab-card.ab-lay-hfall .ab-items-item .ab-items-title {
|
||||
color: currentColor;
|
||||
border-bottom: none;
|
||||
}
|
||||
.ab-note .ab-items.ab-card.ab-lay-hfall {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
}
|
||||
.ab-note .ab-items.ab-card.ab-lay-hfall .ab-items-item .ab-items-title {
|
||||
color: currentColor;
|
||||
border-bottom: none;
|
||||
}
|
||||
.ab-note .ab-items.ab-card.ab-lay-hfall::after {
|
||||
content: "";
|
||||
flex-grow: 99999;
|
||||
@@ -827,8 +865,7 @@ html[data-theme=dark] #app {
|
||||
height: 8px;
|
||||
top: calc(50% - 4px);
|
||||
left: -6px;
|
||||
-webkit-clip-path: polygon(100% 0, 100% 100%, 13.4% 50%);
|
||||
clip-path: polygon(100% 0, 100% 100%, 13.4% 50%);
|
||||
clip-path: polygon(100% 0, 100% 100%, 13.4% 50%);
|
||||
background-color: currentColor;
|
||||
}
|
||||
.ab-note .ab-nodes .ab-nodes-children .ab-nodes-bracket2 {
|
||||
@@ -1166,4 +1203,16 @@ table.ab-table-fc th[col_index="0"], table.ab-table-fc td[col_index="0"] {
|
||||
|
||||
:is(.markdown-preview-view, .markdown-rendered).is-readable-line-width:not(.matrix) .ab-note :is(.markdown-rendered) {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
/**************** PRO *************************/
|
||||
table td div > p:first-child, table td div > ul:first-child, table th div > p:first-child, table th div > ul:first-child {
|
||||
margin-top: 2px;
|
||||
}
|
||||
table td div > p:last-child, table td div > ul:last-child, table th div > p:last-child, table th div > ul:last-child {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody > tr > td .markdown-rendered, .markdown-rendered tbody > tr > th .markdown-rendered {
|
||||
white-space: normal;
|
||||
}
|
||||
Reference in New Issue
Block a user