{"id":798,"date":"2025-02-07T03:50:28","date_gmt":"2025-02-06T19:50:28","guid":{"rendered":"https:\/\/yanghaixiong.com\/?p=798"},"modified":"2025-02-07T03:50:28","modified_gmt":"2025-02-06T19:50:28","slug":"obsidian%e6%8f%92%e4%bb%b6dataview-yaml%e7%ae%80%e4%bb%8b%ef%bc%88%e4%ba%8c%ef%bc%89","status":"publish","type":"post","link":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/","title":{"rendered":"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09"},"content":{"rendered":"
\u8fd9\u7bc7\u6587\u7ae0\u662f Obsidian Dataview \u7cfb\u5217<\/a> \u7cfb\u5217 15 \u7bc7\u6587\u7ae0\u4e2d\u7684\u7b2c 2 \u7bc7<\/div>\n

\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002
\n\u5728 Obsidian \u4e2d\uff0cYAML \u901a\u5e38\u7528\u4e8e\u4e3a\u7b14\u8bb0\u6dfb\u52a0\u5143\u6570\u636e\uff0c\u5982\u6807\u9898\u3001\u6807\u7b7e\u3001\u522b\u540d\u7b49\u3002\u8fd9\u4e9b\u5143\u6570\u636e\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7ec4\u7ec7\u548c\u7ba1\u7406\u7b14\u8bb0\u3002\u5177\u4f53\u6765\u8bf4\uff0cYAML \u5728 Obsidian \u4e2d\u7684\u4f7f\u7528\u65b9\u5f0f\u5982\u4e0b\uff1a
\n\u5728\u7b14\u8bb0\u7684\u5f00\u5934\u4f7f\u7528\u4e09\u4e2a\u77ed\u6a2a\u7ebf\uff08—\uff09\u6765\u5b9a\u4e49\u4e00\u4e2a YAML \u533a\u57df\uff0c\u4e5f\u79f0\u4e4b\u4e3a Front Matter\u3002\u5728\u8fd9\u4e2a\u533a\u57df\u5185\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 YAML \u8bed\u6cd5\u4e3a\u7b14\u8bb0\u6dfb\u52a0\u5404\u79cd\u5143\u6570\u636e\uff0c\u4f8b\u5982\uff0c\u4f7f\u7528 tags \u6765\u6dfb\u52a0\u6807\u7b7e\uff0c\u4f7f\u7528 aliases \u6765\u8bbe\u7f6e\u522b\u540d\uff0c\u4f7f\u7528 cssclasses \u6765\u8bbe\u7f6e\u6587\u6863\u6837\u5f0f\u7b49\u3002<\/p>\n

---\ntitle: Obsidian \u8fbe\u4eba\u6210\u957f\u4e4b\u8def #1\uff1a\u4f7f\u7528\u7ec8\u6781\u5de5\u5177 Dataview \u91ca\u653e\u7b14\u8bb0\u5e93\u7684\u6f5c\u529b \u00b7 DQL\u67e5\u8be2\u8bed\u8a00\ndate: 2024-05-08\ntags: ['Blog', 'Obsidian', 'Dataview']\nalias: \u522b\u540d\n---\n\n\u4e3b\u4f53\u5185\u5bb9\n<\/code><\/pre>\n

\u4e00\u3001\u57fa\u672c\u8bed\u6cd5<\/h2>\n

\u5728 YAML \u8bed\u8a00\u4e2d\u53d8\u91cf\u540d\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684\uff0c\u56e0\u6b64\u00a0one<\/code>\u00a0\u4e0e\u00a0One<\/code>\u00a0\u662f\u4e0d\u540c\u7684\u5b9e\u4f53\u3002
\n\u4f7f\u7528\u00a0#<\/code>\u00a0\u6765\u8868\u793a\u6ce8\u91ca\u3002
\n\u4f7f\u7528\u7f29\u8fdb\u6765\u8868\u793a\u5c42\u7ea7\u5173\u7cfb\uff0c\u5e76\u4e14\u53ea\u80fd\u4f7f\u7528\u7a7a\u683c\u6765\u7f29\u8fdb\uff0c\u540c\u4e00\u5c42\u7ea7\u5728\u7a7a\u683c\u6570\u91cf\u4e0a\u9700\u8981\u4fdd\u6301\u4e00\u81f4\u3002
\n\u4e00\u4e2a\u6587\u4ef6\u4e2d\u662f\u53ef\u4ee5\u5305\u542b\u591a\u4e2a\u00a0---<\/code>\u00a0\u533a\u57df\u7684\u3002<\/p>\n

# \u8fd9\u662f\u6ce8\u91ca\none:\n\u00a0 \u00a0 two: 2\n\u00a0 \u00a0 three:\n\u00a0 \u00a0   four: 4\n  \u00a0 \u00a0 five: 5\n\n\/\/ JSON\n{\n    \"one\": {\n        \"two\": 2,\n        \"three\": {\n            \"four\": 4,\n            \"five\": 5\n        }\n    }\n}\n<\/code><\/pre>\n

\u4e8c\u3001\u6570\u636e\u7ed3\u6784\u4e0e\u7c7b\u578b<\/h2>\n

YAML \u652f\u6301\u6570\u5b57\u3001\u5e03\u5c14\u3001\u5b57\u7b26\u4e32\u3001\u6570\u7ec4\u548c\u5bf9\u8c61\u8fd9\u51e0\u79cd\u5e38\u89c1\u7c7b\u578b\uff0c\u4ee5\u53ca\u7a7a\u503c\u548c\u65f6\u95f4\u7f00\u3002<\/p>\n

1. \u5b57\u7b26\u4e32<\/h3>\n

\u5b57\u7b26\u4e32\u4e00\u822c\u4e0d\u9700\u8981\u7528\u5f15\u53f7\uff08\u4e0d\u533a\u5206\u5355\/\u53cc\u5f15\u53f7\uff0c\u4f46\u5fc5\u987b\u6210\u5bf9\uff09\u5305\u88f9\uff0c\u4f46\u662f\u5982\u679c\u5b57\u7b26\u4e32\u4e2d\u5305\u542b\u8f6c\u4e49\u5b57\u7b26\uff08\u4ee5\u53cd\u659c\u6760\u00a0\\<\/code>\u00a0\u5f00\u5934\uff0c\u5982\u6362\u884c\uff1a\\n<\/code>\uff09\u5c31\u5fc5\u987b\u5f15\u53f7\u5305\u88f9\u3002
\n\u5b57\u7b26\u4e32\u5206\u4e3a\u5355\u884c\u548c\u591a\u884c\u6587\u672c\uff0c\u5728\u591a\u884c\u6587\u672c\u4e2d\u8fd8\u53ef\u80fd\u5305\u542b\u7a7a\u767d\u884c\uff08\u662f\u5426\u4fdd\u7559\uff1f\uff09\uff0c\u56e0\u6b64\u4f1a\u6709\u4e0d\u540c\u7684\u8bed\u6cd5\u6276\u6301\u3002<\/p>\n

strings:\n\u00a0 \u00a0 - Hello Dataview\n\u00a0 \u00a0 - 'Hello Dataview with single quotes'\n\u00a0 \u00a0 - \"Hello Dataview with double quotes\"\n\u00a0 \u00a0 - \"Include Unicode. \\u263A\"\n\u00a0 \u00a0 - \"Include Hex code. \\r\\n\"\n\u00a0 \u00a0 - 'Nested \"quotes\"'\n\n\/\/ JSON:\n{\n    \"strings\": [\n        \"Hello Dataview\",\n        \"Hello Dataview with single quotes\",\n        \"Hello Dataview with double quotes\",\n        \"Include Unicode. \u263a\",\n        \"Include Hex code. \\r\\n\",\n        \"Nested \\\"quotes\\\"\"\n    ]\n}\n<\/code><\/pre>\n

\u4f7f\u7528\u00a0|<\/code>\u00a0\u6765\u4fdd\u7559\u6570\u636e\u7684\u6362\u884c\uff0c\u6bcf\u884c\u7684\u7f29\u8fdb\u548c\u884c\u5c3e\u7a7a\u767d\u90fd\u4f1a\u88ab\u53bb\u6389\uff0c\u800c\u989d\u5916\u7684\u7f29\u8fdb\u4f1a\u88ab\u4fdd\u7559\u3002<\/p>\n

lines: |\n\u00a0 \u00a0 line 1\n\u00a0 \u00a0 line 2\n\n\u00a0 \u00a0 line 3\n\u00a0 \u00a0 \u00a0 \u00a0 line 4\n\u00a0 \u00a0 line 5\n\u00a0 \u00a0 line 6\n\n\/\/ JSON:\n{\n    \"lines\": \"line 1\\nline 2\\n\\nline 3\\n    line 4\\nline 5\\nline 6\\n\"\n}\n<\/code><\/pre>\n

\u4f7f\u7528\u00a0><\/code>\u00a0\u6765\u8868\u793a\u6298\u53e0\u6362\u884c\uff0c\u53ea\u6709\u7a7a\u767d\u884c\u624d\u8bc6\u522b\u4e3a\u6362\u884c\u3002<\/p>\n

lines: >\n\u00a0 \u00a0 line 1\n\u00a0 \u00a0 line 2\n\n\u00a0 \u00a0 line 3\n\u00a0 \u00a0 \u00a0 \u00a0 line 4\n\u00a0 \u00a0 line 5\n\u00a0 \u00a0 line 6\n\n\/\/ JSON:\n{\n    \"lines\": \"line 1 line 2\\nline 3\\n    line 4\\nline 5 line 6\\n\"\n}\n<\/code><\/pre>\n

2. \u5e03\u5c14\u503c<\/h3>\n

\u5728 YAML \u4e2d\u6211\u4eec\u7edf\u4e00\u4f7f\u7528\u00a0true<\/code>\u00a0\u548c\u00a0false<\/code>\u00a0\u8868\u793a\u771f\u503c\u4e0e\u5047\u503c\uff0c\u6b64\u5916\u00a0True<\/code>\u00a0\/\u00a0TRUE<\/code>\u00a0\u540c\u6837\u53ef\u4ee5\u8868\u793a\u771f\u503c\uff0c\u540c\u7406\u8fd8\u6709\u00a0False<\/code>\u00a0\/\u00a0FALSE<\/code>\u00a0\u8868\u793a\u5047\u503c\u3002<\/p>\n

boolean:\n\u00a0 \u00a0 - true\n\u00a0 \u00a0 - true\n\u00a0 \u00a0 - TRUE\n\u00a0 \u00a0 - false\n\u00a0 \u00a0 - False\n\u00a0 \u00a0 - FALSE\n\n\/\/ JSON:\n{\n    \"boolean\": [\n        true,\n        true,\n        true,\n        false,\n        false,\n        false\n    ]\n}\n<\/code><\/pre>\n

\n [!warning] \u6ce8\u610f\u5728 Obsidian \u5c5e\u6027\u9762\u677f\u4e2d\u8f93\u5165\u5e03\u5c14\u503c\u65f6\u9700\u8981\u5c06\u3010\u5c5e\u6027\u7c7b\u578b\u3011\u8bbe\u7f6e\u4e3a\u3010\u590d\u9009\u6846\u3011\u3002\n<\/p><\/blockquote>\n

3. \u6570\u5b57<\/h3>\n

\u6570\u5b57\u5206\u4e3a\u6574\u6570\u3001\u6d6e\u70b9\u6570\uff0c\u8868\u793a\u65b9\u6cd5\u6709\u79d1\u5b66\u8868\u793a\u6cd5\uff0c\u8fdb\u5236\u8868\u793a\u6cd5\uff08\u4e8c\u8fdb\u5236\u3001\u516b\u8fdb\u5236\u3001\u5341\u8fdb\u5236\u548c\u5341\u516d\u8fdb\u5236\uff09\u3002<\/p>\n

Integers: [ 0, 0o7, 0x3A, -19 ]\nFloats: [0., -0.0, .5, +12e03, -2E+05]\n\n\/\/ JSON:\n{\n    \"Integers\": [\n        0,\n        7,\n        58,\n        -19\n    ],\n    \"Floats\": [\n        0,\n        0,\n        0.5,\n        12000,\n        -200000\n    ]\n}\n<\/code><\/pre>\n

\n [!warning] \u6ce8\u610f\u5728 Obsidian \u5c5e\u6027\u9762\u677f\u4e2d\u8f93\u5165\u6570\u5b57\u65f6\u9700\u8981\u5c06\u3010\u5c5e\u6027\u7c7b\u578b\u3011\u8bbe\u7f6e\u4e3a\u3010\u6570\u5b57\u3011\u3002\n<\/p><\/blockquote>\n

4. \u7a7a\u503c<\/h3>\n

null<\/code>\u3001Null<\/code>\u00a0\u548c\u00a0~<\/code>\u00a0\u4ee5\u53ca\u4e0d\u6307\u5b9a\u503c\u9ed8\u8ba4\u90fd\u4e3a\u7a7a\u3002<\/p>\n

nulls:\n\u00a0 \u00a0 - null\n\u00a0 \u00a0 - Null\n\u00a0 \u00a0 -\n\u00a0 \u00a0 - ~\n\/\/ JSON:\n{\n    \"nulls\": [\n        null,\n        null,\n        null,\n        null\n    ]\n}\n<\/code><\/pre>\n

5. \u65f6\u95f4\u7f00<\/h3>\n

YAML \u652f\u6301 ISO 8601 \u683c\u5f0f\u7684\u65f6\u95f4\u6570\u636e\u3002\u4f46\u662f\u5728 Obsidian \u4e2d\u4f7f\u7528\u65f6\u53ea\u652f\u6301\u90e8\u5206\u683c\u5f0f\uff0c\u5efa\u8bae\u4f7f\u7528 xxxx-xx-xx xx:xx:xx<\/code> \u8fd9\u79cd\u683c\u5f0f\u6765\u8f93\u5165\u65e5\u671f\u548c\u65f6\u95f4\uff0c\u6216\u8005\u5728\u5c5e\u6027\u9762\u677f\u4e2d\u5c06\u3010\u5c5e\u6027\u7c7b\u578b\u3011\u8bbe\u7f6e\u4e3a\u3010\u65e5\u671f\u3011\u6216\u3010\u65e5\u671f & \u65f6\u95f4\u3011\u7136\u540e\u5728\u65e5\u671f\u6216\u65f6\u95f4\u9009\u62e9\u5668\u4e2d\u9009\u62e9\u60f3\u8981\u7684\u503c\u3002<\/p>\n

date1: 2024-04-20T11:32:00.000-04:00\ndate2: 2017-04-20\ndate3: 2017-W17-7\ndate4: 11:32:00.000-04:00\n<\/code><\/pre>\n

\n [!tip] \u5728 Obsidian \u7684\u3010\u9009\u9879\u3011\u4e2d\u7684\u3010\u7f16\u8f91\u5668\u3011\u5c06\u3010\u6587\u6863\u5c5e\u6027\u3011\u663e\u793a\u65b9\u5f0f\u5207\u6362\u4e3a\u3010\u6e90\u7801\u3011\u6a21\u5f0f\u5c31\u53ef\u4ee5\u663e\u793a\u5c5e\u6027\u7684 YAML \u6e90\u7801\u3002\n<\/p><\/blockquote>\n

6. \u6570\u7ec4<\/h3>\n

YAML \u4e2d\u6570\u7ec4\u6709 2 \u79cd\u8bed\u6cd5\u683c\u5f0f\uff0c\u4e00\u79cd\u662f\u533a\u5757\u683c\u5f0f\uff08\u5373\uff1a- \u5c5e\u6027\u503c\uff09\uff0c\u53e6\u4e00\u79cd\u662f\u5185\u8054\u683c\u5f0f\uff08[\u5c5e\u6027\u503c]\uff09\u3002\u591a\u7ef4\u6570\u7ec4\u5219\u901a\u8fc7\u7f29\u8fdb\u6765\u8868\u793a\u5c42\u7ea7\u5173\u7cfb\u3002<\/p>\n

Inline arrays: [\"a\", \"b\", 1, 2]\nBlock arrays:\n\u00a0 \u00a0 - a\n\u00a0 \u00a0 - b\n\u00a0 \u00a0 - 1\n\u00a0 \u00a0 - 2\nMultiple arrays:\n\u00a0 \u00a0 -\n\u00a0 \u00a0 \u00a0 \u00a0 - a\n\u00a0 \u00a0 \u00a0 \u00a0 - b\n\u00a0 \u00a0 -\n\u00a0 \u00a0 \u00a0 \u00a0 - c\n\u00a0 \u00a0 \u00a0 \u00a0 - d\n\n\/\/ JSON:\n{\n    \"Inline arrays\": [\n        \"a\",\n        \"b\",\n        1,\n        2\n    ],\n    \"Block arrays\": [\n        \"a\",\n        \"b\",\n        1,\n        2\n    ],\n    \"Multiple arrays\": [\n        [\n            \"a\",\n            \"b\"\n        ],\n        [\n            \"c\",\n            \"d\"\n        ]\n    ]\n}\n<\/code><\/pre>\n

7. \u5bf9\u8c61<\/h3>\n

\u5bf9\u8c61\u662f\u4ee5\u952e\u503c\u5bf9\uff08key: value\uff09\u7684\u5f62\u5f0f\u6765\u8868\u793a\u6570\u636e\u3002<\/p>\n

key: value\nkey: { key1: value1, key2: value2 }\nkey:\n\u00a0 key2: value2\n\u00a0 key3: value3\n\n\/\/ JSON:\n{\n    \"key\": \"value\",\n    \"key2\": {\n        \"key1\": \"value1\",\n        \"key2\": \"value2\"\n    },\n    \"key3\": {\n        \"key2\": \"value2\",\n        \"key3\": \"value3\"\n    }\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"
\u8fd9\u7bc7\u6587\u7ae0\u662f Obsidian Dataview \u7cfb\u5217<\/a> \u7cfb\u5217 15 \u7bc7\u6587\u7ae0\u4e2d\u7684\u7b2c 2 \u7bc7<\/div>

\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002 \u5728 Obsidian \u4e2d\uff0cYAML \u901a\u5e38\u7528\u4e8e\u4e3a\u7b14\u8bb0\u6dfb\u52a0\u5143\u6570\u636e\uff0c\u5982\u6807\u9898\u3001\u6807\u7b7e\u3001\u522b\u540d\u7b49\u3002\u8fd9\u4e9b\u5143\u6570\u636e\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7ec4\u7ec7\u548c\u7ba1\u7406\u7b14\u8bb0\u3002\u5177\u4f53\u6765\u8bf4\uff0cYAML \u5728 Obsidian \u4e2d\u7684\u4f7f\u7528\u65b9\u5f0f\u5982\u4e0b\uff1a \u5728\u7b14\u8bb0\u7684\u5f00\u5934\u4f7f\u7528\u4e09\u4e2a\u77ed\u6a2a\u7ebf\uff08—\uff09\u6765\u5b9a\u4e49\u4e00\u4e2a YAML \u533a\u57df\uff0c\u4e5f\u79f0\u4e4b\u4e3a Front Matter\u3002\u5728\u8fd9\u4e2a\u533a\u57df\u5185\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 YAML \u8bed\u6cd5\u4e3a\u7b14\u8bb0\u6dfb\u52a0\u5404\u79cd\u5143\u6570\u636e\uff0c\u4f8b\u5982\uff0c\u4f7f\u7528 tags \u6765\u6dfb\u52a0\u6807\u7b7e\uff0c\u4f7f\u7528 aliases \u6765\u8bbe\u7f6e\u522b\u540d\uff0c\u4f7f\u7528 c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7],"tags":[199],"series":[201],"class_list":["post-798","post","type-post","status-publish","format-standard","hentry","category-skills","tag-obsidian","series-obsidian-dataview"],"yoast_head":"\nObsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09 - \u6ce2\u6bd4AI<\/title>\n<meta name=\"description\" content=\"\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6ce2\u6bd4AI\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=61558625288156\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-06T19:50:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/yanghaixiong.com\/wp-content\/uploads\/2025\/02\/\u6ce2\u6bd4AI.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6ce2\u6bd4AI\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ce2\u6bd4AI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\"},\"author\":{\"name\":\"\u6ce2\u6bd4AI\",\"@id\":\"https:\/\/yanghaixiong.com\/#\/schema\/person\/b2e169fa0bfa546c7cc66d799c5eee17\"},\"headline\":\"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09\",\"datePublished\":\"2025-02-06T19:50:28+00:00\",\"dateModified\":\"2025-02-06T19:50:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\"},\"wordCount\":38,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/yanghaixiong.com\/#organization\"},\"keywords\":[\"Obsidian\"],\"articleSection\":[\"\u5b9e\u7528\u6280\u5de7\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/yanghaixiong.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\",\"url\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\",\"name\":\"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09 - \u6ce2\u6bd4AI\",\"isPartOf\":{\"@id\":\"https:\/\/yanghaixiong.com\/#website\"},\"datePublished\":\"2025-02-06T19:50:28+00:00\",\"dateModified\":\"2025-02-06T19:50:28+00:00\",\"description\":\"\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/yanghaixiong.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/yanghaixiong.com\/#website\",\"url\":\"https:\/\/yanghaixiong.com\/\",\"name\":\"\u6ce2\u6bd4AI\",\"description\":\"\u8de8\u5883\u7535\u5546B2C\u7ecf\u9a8c\u8bb0\u5f55\u3001\u4ea4\u6d41\u4e0e\u5206\u4eab\",\"publisher\":{\"@id\":\"https:\/\/yanghaixiong.com\/#organization\"},\"alternateName\":\"\u5927\u96c4B2C\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/yanghaixiong.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Organization\",\"Place\"],\"@id\":\"https:\/\/yanghaixiong.com\/#organization\",\"name\":\"\u6ce2\u6bd4AI\",\"alternateName\":\"\u6768\u6d77\u96c4\",\"url\":\"https:\/\/yanghaixiong.com\/\",\"logo\":{\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#local-main-organization-logo\"},\"image\":{\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#local-main-organization-logo\"},\"sameAs\":[\"https:\/\/www.facebook.com\/profile.php?id=61558625288156\"],\"description\":\"\u8de8\u5883\u7535\u5546B2C\u7ecf\u9a8c\u8bb0\u5f55\u3001\u4ea4\u6d41\u4e0e\u5206\u4eab\",\"telephone\":[],\"openingHoursSpecification\":[{\"@type\":\"OpeningHoursSpecification\",\"dayOfWeek\":[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"],\"opens\":\"09:00\",\"closes\":\"17:00\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/yanghaixiong.com\/#\/schema\/person\/b2e169fa0bfa546c7cc66d799c5eee17\",\"name\":\"\u6ce2\u6bd4AI\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/yanghaixiong.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a71b573316787cebbf7f3c2c742eab21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a71b573316787cebbf7f3c2c742eab21?s=96&d=mm&r=g\",\"caption\":\"\u6ce2\u6bd4AI\"},\"sameAs\":[\"https:\/\/yanghaixiong.com\"],\"url\":\"https:\/\/yanghaixiong.com\/blog\/author\/yanghxyidacp-com\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#local-main-organization-logo\",\"url\":\"https:\/\/yanghaixiong.com\/wp-content\/uploads\/2024\/08\/screenshot.png\",\"contentUrl\":\"https:\/\/yanghaixiong.com\/wp-content\/uploads\/2024\/08\/screenshot.png\",\"width\":1200,\"height\":900,\"caption\":\"\u6ce2\u6bd4AI\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09 - \u6ce2\u6bd4AI","description":"\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/","og_locale":"zh_CN","og_type":"article","og_title":"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09","og_description":"\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002","og_url":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/","og_site_name":"\u6ce2\u6bd4AI","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=61558625288156","article_published_time":"2025-02-06T19:50:28+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/yanghaixiong.com\/wp-content\/uploads\/2025\/02\/\u6ce2\u6bd4AI.png","type":"image\/png"}],"author":"\u6ce2\u6bd4AI","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6ce2\u6bd4AI"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#article","isPartOf":{"@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/"},"author":{"name":"\u6ce2\u6bd4AI","@id":"https:\/\/yanghaixiong.com\/#\/schema\/person\/b2e169fa0bfa546c7cc66d799c5eee17"},"headline":"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09","datePublished":"2025-02-06T19:50:28+00:00","dateModified":"2025-02-06T19:50:28+00:00","mainEntityOfPage":{"@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/"},"wordCount":38,"commentCount":0,"publisher":{"@id":"https:\/\/yanghaixiong.com\/#organization"},"keywords":["Obsidian"],"articleSection":["\u5b9e\u7528\u6280\u5de7"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/yanghaixiong.com\/blog\/skills\/798\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/yanghaixiong.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/","url":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/","name":"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09 - \u6ce2\u6bd4AI","isPartOf":{"@id":"https:\/\/yanghaixiong.com\/#website"},"datePublished":"2025-02-06T19:50:28+00:00","dateModified":"2025-02-06T19:50:28+00:00","description":"\u5728 Obsidian \u4e2d\uff0cYAML \u662f\u4e00\u79cd\u7528\u4e8e\u914d\u7f6e\u6587\u4ef6\u548c\u5143\u6570\u636e\u7684\u6807\u8bb0\u8bed\u8a00\u3002YAML \u8bed\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\uff0c\u4f7f\u5f97\u5728 Obsidian \u4e2d\u63cf\u8ff0\u5c5e\u6027\u53d8\u5f97\u66f4\u4e3a\u4fbf\u6377\u3002","breadcrumb":{"@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/yanghaixiong.com\/blog\/skills\/798\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/yanghaixiong.com\/"},{"@type":"ListItem","position":2,"name":"Obsidian\u63d2\u4ef6Dataview \u2014\u2014 YAML\u7b80\u4ecb\uff08\u4e8c\uff09"}]},{"@type":"WebSite","@id":"https:\/\/yanghaixiong.com\/#website","url":"https:\/\/yanghaixiong.com\/","name":"\u6ce2\u6bd4AI","description":"\u8de8\u5883\u7535\u5546B2C\u7ecf\u9a8c\u8bb0\u5f55\u3001\u4ea4\u6d41\u4e0e\u5206\u4eab","publisher":{"@id":"https:\/\/yanghaixiong.com\/#organization"},"alternateName":"\u5927\u96c4B2C","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/yanghaixiong.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Organization","Place"],"@id":"https:\/\/yanghaixiong.com\/#organization","name":"\u6ce2\u6bd4AI","alternateName":"\u6768\u6d77\u96c4","url":"https:\/\/yanghaixiong.com\/","logo":{"@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#local-main-organization-logo"},"image":{"@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#local-main-organization-logo"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=61558625288156"],"description":"\u8de8\u5883\u7535\u5546B2C\u7ecf\u9a8c\u8bb0\u5f55\u3001\u4ea4\u6d41\u4e0e\u5206\u4eab","telephone":[],"openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],"opens":"09:00","closes":"17:00"}]},{"@type":"Person","@id":"https:\/\/yanghaixiong.com\/#\/schema\/person\/b2e169fa0bfa546c7cc66d799c5eee17","name":"\u6ce2\u6bd4AI","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/yanghaixiong.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a71b573316787cebbf7f3c2c742eab21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a71b573316787cebbf7f3c2c742eab21?s=96&d=mm&r=g","caption":"\u6ce2\u6bd4AI"},"sameAs":["https:\/\/yanghaixiong.com"],"url":"https:\/\/yanghaixiong.com\/blog\/author\/yanghxyidacp-com\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/yanghaixiong.com\/blog\/skills\/798\/#local-main-organization-logo","url":"https:\/\/yanghaixiong.com\/wp-content\/uploads\/2024\/08\/screenshot.png","contentUrl":"https:\/\/yanghaixiong.com\/wp-content\/uploads\/2024\/08\/screenshot.png","width":1200,"height":900,"caption":"\u6ce2\u6bd4AI"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/posts\/798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/comments?post=798"}],"version-history":[{"count":1,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":799,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/posts\/798\/revisions\/799"}],"wp:attachment":[{"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/media?parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/categories?post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/tags?post=798"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/yanghaixiong.com\/wp-json\/wp\/v2\/series?post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}