Wikilinks是由早期的互联网Wiki开创的,它可以更容易地在页面之间编写链接,而无需每次都编写Markdown或HTML链接。

Quartz默认支持Wikilinks,这些链接由Quartz使用CrawlLinks插件解析。请参阅内部链接上的Obsidian帮助页面,以获取有关Wikilink语法的更多信息。

这是作为Obsidian compatibility 的一部分并且可以从该插件进行配置和启用/禁用。

语法

  • [[Path to file]]: 生成一个指向Path to file.md(或Path-to-file.md)的链接,其文本为Path to file
  • [[Path to file | Here's the title override]]: 生成一个指向Path to file.md的链接,其文本为Here's the title override
  • [[Path to file#anchor|Anchor]]: 生成指向文件Path to file.md中的锚点Anchor的链接
  • [[Path to file#^block-ref|^block-ref]]: 生成指向文件Path to file.md中特定块block-ref的链接

嵌入

  • ![[Path to image]]: 将图像嵌入到页面中
  • ![[Path to image|100x145]]: 将尺寸为100px * 145px的图像嵌入到页面中
  • ![[Path to file]]: 覆盖整个页面
  • ![[Path to file#anchor|Anchor]]: 嵌入标题Anchor下的所有内容
  • ![[Path to file#^b15695|^b15695]]: 嵌入包含ID为^b15695的块