{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/obsidian-usage-tips/",
  "atlas": "https://www.pystone.net/?node=obsidian-usage-tips#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/obsidian-usage-tips.md",
  "context": "https://www.pystone.net/notes/obsidian-usage-tips.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:obsidian-usage-tips",
  "slug": "obsidian-usage-tips",
  "title": "Obsidian用法",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "Obsidian用法 核心：知识链接 支持Markdown 双链，片段索引 丰富插件系统 本地存储，纯文本 —— 自主管理，方便迁移，不受限于商家 所见即所得 界面好看 插件丰富 自定义模板",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "76ab927db4102c27a984ae4925a5d145ca1f6372b33c7d2ed8d749dae9bf4f95",
  "assets": [
    {
      "reference": "assets/image-20230710155020587.png",
      "url": "/media/26aac8ef21ef13c8a2ff.png",
      "mediaType": "image/png",
      "contentHash": "26aac8ef21ef13c8a2ff0e43a3d6129080a610a1695a1ca65552a4a0695d4157",
      "byteLength": 10282,
      "width": 409,
      "height": 255
    },
    {
      "reference": "assets/image-20230710154935369.jpeg",
      "url": "/media/01d100faccc5076ef94b.jpg",
      "mediaType": "image/jpeg",
      "contentHash": "01d100faccc5076ef94beb54eed4d13e9c2204dfcbb0f42fcee87cc3403e5bf6",
      "byteLength": 247096,
      "width": 1580,
      "height": 880
    }
  ],
  "headings": [
    {
      "depth": 1,
      "text": "Obsidian用法",
      "anchor": "obsidian用法",
      "citation": "https://www.pystone.net/notes/obsidian-usage-tips/#obsidian%E7%94%A8%E6%B3%95"
    },
    {
      "depth": 2,
      "text": "收费点",
      "anchor": "收费点",
      "citation": "https://www.pystone.net/notes/obsidian-usage-tips/#%E6%94%B6%E8%B4%B9%E7%82%B9"
    },
    {
      "depth": 2,
      "text": "应用",
      "anchor": "应用",
      "citation": "https://www.pystone.net/notes/obsidian-usage-tips/#%E5%BA%94%E7%94%A8"
    },
    {
      "depth": 2,
      "text": "使用技巧",
      "anchor": "使用技巧",
      "citation": "https://www.pystone.net/notes/obsidian-usage-tips/#%E4%BD%BF%E7%94%A8%E6%8A%80%E5%B7%A7"
    },
    {
      "depth": 2,
      "text": "图片插入工具",
      "anchor": "图片插入工具",
      "citation": "https://www.pystone.net/notes/obsidian-usage-tips/#%E5%9B%BE%E7%89%87%E6%8F%92%E5%85%A5%E5%B7%A5%E5%85%B7"
    },
    {
      "depth": 2,
      "text": "相关资料和引用",
      "anchor": "相关资料和引用",
      "citation": "https://www.pystone.net/notes/obsidian-usage-tips/#%E7%9B%B8%E5%85%B3%E8%B5%84%E6%96%99%E5%92%8C%E5%BC%95%E7%94%A8"
    }
  ],
  "claims": [],
  "outgoing": [],
  "incoming": [
    {
      "id": "note:developer-tools-and-productivity",
      "title": "开发工具与工程效率",
      "url": "https://www.pystone.net/notes/developer-tools-and-productivity/",
      "atlas": "https://www.pystone.net/?node=developer-tools-and-productivity#knowledge-atlas",
      "label": "开发工具与工程效率",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "工具与资源中的“Obsidian用法”导航项",
      "citation": "https://www.pystone.net/notes/developer-tools-and-productivity/#%E5%B7%A5%E5%85%B7%E4%B8%8E%E8%B5%84%E6%BA%90"
    }
  ],
  "contentMarkdown": "# Obsidian用法\n核心：知识链接\n* 支持Markdown\n* 双链，片段索引\n* 丰富插件系统\n* 本地存储，纯文本 —— 自主管理，方便迁移，不受限于商家\n* 所见即所得\n* 界面好看\n* 插件丰富\n* 自定义模板\n\n```python\nimport sys\nimport datetime\n\n## 从命令行获取文件名\nif len(sys.argv) < 2:\n    print(\"Usage: python program.py filename\")\n    sys.exit(1)\nfilename = sys.argv[1]\n\n## 读取文件并解析时间\nwith open(filename, 'r') as f:\n    times = []\n    for line in f:\n        time_str = line.strip()\n        if time_str:\n            hour, minute = map(int, time_str.split(':'))\n            times.append(datetime.time(hour, minute))\n\n## 计算时间总和和平均数\ntotal_time = datetime.timedelta()\nfor time in times:\n    total_time += datetime.timedelta(hours=time.hour, minutes=time.minute)\naverage_time = total_time / len(times)\n\n## 输出结果\nprint(f\"原始数据：{times}\")\nprint(f\"数据数量：{len(times)}\")\nprint(f\"时间总和：{total_time}\")\nprint(f\"平均数：{average_time}\")\n```\n\n\n\n## 收费点\n* 同步服务\n* Publish\n*\n\n\n## 应用\n\n* 写文章\n* 管理知识\n\n\n\n\n\n## 使用技巧\n\n\n\n\n查看目录（v0.8.1 开始支持）\n![](assets/image-20230710155020587.png)\n\n\n\n\n## 图片插入工具\n\n希望达到typora的效果\n\n\nhttps://blog.csdn.net/weixin_42072280/article/details/127476265\n\n![](assets/image-20230710154935369.jpeg)\n\n\n\n\n## 相关资料和引用\n\n\nhttps://www.bilibili.com/video/BV1H44y1n71k/?spm_id_from=333.337.search-card.all.click&vd_source=37d77b0c4f47ce9562d64df16c394303\n\n\n\n其他资料：\nNotion和Obsidian怎么选： https://www.bilibili.com/video/BV1pM4y1j7g9/?spm_id_from=333.1007.tianma.1-1-1.click&vd_source=37d77b0c4f47ce9562d64df16c394303\n"
}
