- father::元笔记汇总
1. 多级需求和方案设想及其结论(项目根本)
检测是否已经有目标标签
获取某个文件的所有标签
方案之一:通过文本
- 有没有现成的标签解析工具
- GitHub - markdown-it/markdown-it: Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
- 有3个obsidian相关的插件,标准markdown解析
- 都是小功能的解析,如ob链接、图片等
- 有3个obsidian相关的插件,标准markdown解析
- GitHub - Nodsoft/MoltenObsidian: Obsidian-flavoured Markdown parsing library for .NET 6+, with support for Obsidian Vaults navigation.
- 解析成html
- 正文中的标签解析不出来
- GitHub - danymat/Obsidian-Markdown-Parser: This repository will give you tools to parse and fetch useful informations of your notes in your Obsidian vault.
- 总结:非常简单粗暴,不成熟的东西
- 只能解析标签
- 忽略代码块等的影响
- GitHub - remarkjs/remark: markdown processor powered by plugins part of the @unifiedjs collective
- unified · GitHub
- 有非常多的插件支持
- 但没有现成的obsidianMD支持
- 插件的颗粒度比较小,如frontMatter解析支持
- 基于codemirror6实现markdow编辑器 - 掘金
- 有非常多的插件支持
- unified · GitHub
- codemirror能不能解析md
- 貌似不能解析markdown文档
-
CodeMirroris a versatile text editor that can be used to edit code in various programming languages. It has a built-in Markdown mode that provides syntax highlighting and other features for editing Markdown documents 12. In addition, the@codemirror/lang-markdownpackage provides Markdown language support for the CodeMirror code editor. It offers features such as syntax highlighting, autocompletion, and error checking for Markdown documents
- GitHub - markdown-it/markdown-it: Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
方案之一:通过obsidian
通过cacheMatedata只能获取文档中的