20251021 markdown links
Markdown 支援連結的語法有以下幾種:
## Normal
[link](https://example.com)
## Full Ref
[link text][label1]
[label1]: https://example.com
## Short Ref
[link text1][]
[link text1]: https://example.com
## No Ref
[link text2]
[link text2]: https://example.com
渲染結果如下(我懶的看文檔名字亂取的):
Normal
Full Ref
Short Ref
No Ref
如果使用依照 CommonMark 標準的解析器,這四種生成的 HTML 會完全相同;Hugo 四種都支援,Obsidian 只支援前兩種。
Reference: Choosing the right format for Markdown links and images