笔记备份:2025-05-22 10:50:30

This commit is contained in:
2025-05-22 10:50:31 +08:00
parent 16ef38cbf3
commit e7efecfa27
5 changed files with 82 additions and 91 deletions

View File

@@ -130,20 +130,20 @@
"isCountable": true,
"targetNodeType": "file",
"noteCount": 1,
"wordCount": 136,
"wordCount": 269,
"wordCountTowardGoal": 0,
"wordGoal": null,
"pageCount": 0.4533333333333333,
"characterCount": 654,
"nonWhitespaceCharacterCount": 612,
"newlineCount": 23,
"readingTimeInMinutes": 0.30924528301886794,
"pageCount": 0.8966666666666666,
"characterCount": 953,
"nonWhitespaceCharacterCount": 888,
"newlineCount": 31,
"readingTimeInMinutes": 0.594754716981132,
"linkCount": 0,
"embedCount": 1,
"embedCount": 3,
"aliases": null,
"createdDate": 1747817256943,
"modifiedDate": 1747819608768,
"sizeInBytes": 898,
"modifiedDate": 1747882136269,
"sizeInBytes": 1461,
"sessionStart": {
"noteCount": 1,
"pageCount": 0.45,

View File

@@ -1,42 +1,59 @@
.markdown-rendered {
line-height: 2;
font-size: 1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Mulish, 'Noto Serif SC', 'Noto Serif JP', Mulish, -apple-system,
'PingFang SC', 'Microsoft YaHei', sans-serif;
font-weight: 700;
line-height: 1.5;
margin: 1.25rem 0 0.9375rem;
}
a {
background: 0 0;
}
a {
border: none;
color: currentColor;
outline: 0;
text-decoration: none;
overflow-wrap: break-word;
word-wrap: break-word;
transition: all 0.2s ease-in-out 0s;
transition: all .2s ease-in-out 0s;
cursor: pointer;
}
.markdown-rendered :is(p, pre, table, ul, ol) + :is(h1, h2, h3, h4, h5, h6),
.markdown-rendered
div:is(.el-p, .el-pre, .el-table, .el-ul, .el-ol)
+ div
> :is(h1, h2, h3, h4, h5, h6) {
margin-top: 0;
.markdown-rendered {
overflow-wrap: break-word;
word-wrap: break-word;
color: #333;
font-size: 1em;
line-height: 2;
-webkit-font-smoothing: antialiased;
}
.markdown-rendered p {
margin: 0 0 0.8rem;
}
.markdown-rendered h1 {
font-size: 1.5em;
}
.markdown-rendered h2 {
font-size: 1.375em
}
.markdown-rendered h3 {
font-size: 1.25em
}
.markdown-rendered h4 {
font-size: 1.125em
}
.markdown-rendered h5 {
font-size: 1em
}
.markdown-rendered h6 {
font-size: .875em
}
.markdown-rendered h1,
@@ -46,34 +63,21 @@ a {
.markdown-rendered h5,
.markdown-rendered h6 {
position: relative;
padding-top: 0.625rem;
padding-top: .625rem;
}
.markdown-rendered h1 {
font-size: 1.5em;
.markdown-rendered a:not(.auto-card-link-card) {
color: #e9546b;
text-decoration-line: none;
border-bottom: 2px dashed #eff2f3;
}
.markdown-rendered h2 {
font-size: 1.375em;
.markdown-rendered a:not(.auto-card-link-card):hover {
border-bottom-color: #38a1db;
color: #38a1db;
}
.markdown-rendered h3 {
font-size: 1.25em;
}
.markdown-rendered h4 {
font-size: 1.125em;
}
.markdown-rendered h5 {
font-size: 1em;
}
.markdown-rendered h6 {
font-size: 0.875em;
}
/* 行内代码 */
.markdown-rendered :not(pre) > code {
color: #e9546b;
border-radius: 0.3rem;
@@ -83,22 +87,3 @@ a {
overflow-wrap: break-word;
word-wrap: break-word;
}
/* p */
.markdown-rendered p {
margin-block-start: var(--p-spacing);
margin-block-end: var(--p-spacing);
unicode-bidi: plaintext;
margin: 0 0 0.8rem;
}
.markdown-rendered a:not(.auto-card-link-card) {
color: #e9546b;
border-bottom: 2px dashed #eff2f3;
padding-bottom: 3px;
}
.markdown-rendered a:not(.auto-card-link-card):hover {
color: #38a1db;
border-bottom-color: #38a1db;
}

View File

@@ -4,22 +4,17 @@
"type": "split",
"children": [
{
"id": "4509724f8bf84da7",
"id": "9ae0a3f6f9700ffb",
"type": "tabs",
"children": [
{
"id": "e7a7b303c61786dc",
"id": "1fbeae56c92d19bb",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "A3-Tools/Obsidian/代码片段/图片位置.md",
"mode": "preview",
"source": true,
"backlinks": false
},
"type": "empty",
"state": {},
"icon": "lucide-file",
"title": "图片位置"
"title": "新标签页"
}
}
]
@@ -112,13 +107,12 @@
"state": {
"type": "outline",
"state": {
"file": "Home.md",
"followCursor": false,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-list",
"title": "Home 的大纲"
"title": "大纲"
}
},
{
@@ -141,7 +135,7 @@
"state": {
"type": "backlink",
"state": {
"file": "README.md",
"file": "A3-Tools/Obsidian/代码片段/图片位置.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -151,7 +145,7 @@
"unlinkedCollapsed": true
},
"icon": "links-coming-in",
"title": "README 的反向链接列表"
"title": "图片位置 的反向链接列表"
}
},
{
@@ -168,8 +162,7 @@
"title": "图片位置 的出链列表"
}
}
],
"currentTab": 3
]
},
{
"id": "54b84f84313fca94",
@@ -214,7 +207,8 @@
}
],
"direction": "horizontal",
"width": 300
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
@@ -231,14 +225,15 @@
"homepage:Open homepage": false
}
},
"active": "e7a7b303c61786dc",
"active": "1fbeae56c92d19bb",
"lastOpenFiles": [
"README.md",
"A3-Tools/Obsidian/代码片段/图片位置.md",
"A3-Tools/Obsidian/代码片段/未命名.md",
"README.md",
"A5-Attachments/Banner/Home.webp",
"A3-Tools/Obsidian/代码片段",
"A3-Tools/Obsidian/代码片段的使用.md",
"A3-Tools/Obsidian",
"A5-Attachments/Banner/Home.webp",
"Home.md",
"conflict-files-obsidian-git.md",
"A6-Excalidraw",

0
.trash/未命名 4.md Normal file
View File

View File

@@ -2,14 +2,25 @@
## 功能
1. 将图片渲染为圆形;
2. 控制图片在文本的左侧或者右侧
## 使用
### 将图片变成圆形
插入图片后,在图片名后面添加 `|O` 并设置自己期望的比例 `|200x200|` 设置完的配置:`![[xxx.jpg|O|200x200]]`
![[A5-Attachments/Banner/Home.webp|O|200x200]]
[baidu](http://baidu.com)
### 控制图片在文本的左侧或者右侧
1. 插入图片后,在图片名后面添加 `#L` 可控制图片出现在左侧;格式为:`![[xxx.jpg|L|150]]`
2. 插入图片后,在图片名后面添加 `#R` 可控制图片出现在右侧;格式为:`![[xxx.jpg|R|150]]`
![[A5-Attachments/Banner/Home.webp|L|150]]
![[A5-Attachments/Banner/Home.webp|R|150]]
### 混合使用
插入图片后,在图片名后面添加 `|O` 设置图片为圆形后,后面添加 `L` 可控制图片出现在左侧;后面添加 `R` 可控制图片出现在右侧;格式为 `![[xxx.jpg|OL|200x200]]`
![[A5-Attachments/Banner/Home.webp|OL|100x100]]
Obsidian 是一个使用 Markdown 语法的闭源笔记软件。
## 参考
```cardlink