-
Notifications
You must be signed in to change notification settings - Fork 4
Obsidian
Maxiee edited this page Jan 18, 2025
·
6 revisions
RaySystem 选择 Obsidian,将其作为外部依赖纳入到系统中。在 RaySystem 中,Obsidian 的作用为所有文本信息的交互载体。
- 998.模板:存放所有的模板文件
- 997.网海拾珍:存放所有的网页剪藏内容
在笔记 frontmatter 中,type 字段用于标识笔记的类型。
类型 | 描述 |
---|---|
web-bookmark | 网页书签 |
已废弃,对应老版 RaySystem 的网页书签。在老版 RaySystem 中,如果点击收藏,会在 Obsidian 同步创建一个网页书签。网页书签的 frontmatter 如下:
---
type: web-bookmark
name: "{{title}}"
url:
description:
site:
user:
tags:
date: "{{date}}"
md:
html:
---
字段说明:
字段 | 描述 | 示例 |
---|---|---|
type | 笔记类型 | web-bookmark |
name | 网页标题 | "“把学历改成高中后,我终于找到了工作”" |
url | 网页链接 | URL |
description | 网页描述 | 网页摘要 |
site | 网页站点 |
"[[mp.weixin.qq.com]]" 到站点的双链 |
user | 网页作者 | 实际未用到 |
tags | 网页标签 | #标签1 #标签2 |
date | 网页日期 | 2021-01-01 |
md | 网页 Markdown | 实际未用到 |
html | 网页 HTML | 实际未用到 |
正文 | 网页正文 | 网页摘要 |
Default 模版设置:
{
"schemaVersion": "0.1.0",
"name": "Default",
"behavior": "create",
"noteContentFormat": "{{content}}",
"properties": [
{
"name": "title",
"value": "{{title}}",
"type": "text"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "author",
"value": "{{author|split:\\\", \\\"|wikilink|join}}",
"type": "multitext"
},
{
"name": "published",
"value": "{{published}}",
"type": "date"
},
{
"name": "created",
"value": "{{date}}",
"type": "date"
},
{
"name": "description",
"value": "{{description}}",
"type": "text"
},
{
"name": "tags",
"value": "clippings",
"type": "multitext"
},
{
"name": "type",
"value": "webpage",
"type": "text"
},
{
"name": "domain",
"value": "[[{{domain}}]]",
"type": "text"
}
],
"triggers": [],
"noteNameFormat": "{{title}}",
"path": "997.网海拾珍/{{domain}}/pages"
}