srid/emanote

Disable hashtag in link text

開放

#167 建立於 2021年10月6日

 (4 則留言) (0 個反應) (0 位負責人)Haskell (78 個分叉)github user discovery
help wantedplutonomicon

倉庫指標

星標
 (948 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I notice my tags list is flooded with tags of the form #[\d+], coming from the titles of issue tracker links. Looking at the source I see the hashTagSpec follows CommonMark's allowing other inline elements in link titles, ie ital bold #hash. Still, in the case of hashtags my gut says they should be disallowed in the titles of other links (mostly because I want to be able to drop links from the browser without sanitizing the titles), also Obsidian doesn't parse them. WDYT?

Originally posted by @edrex in https://github.com/srid/emanote/discussions/166

貢獻者指南