一个小问题:当 # 是行首字符时,标签的自动补将不起作用。
Not really a bug, but might be confusing if you are unfamiliar with markdown. Lines beginning with # means something in markdown, and it’d be weird if I saw a list of tags or categories every time I’m writing a header.
# a header renders to:
a header
You can add a space before the # as a workaround.
Well, the header requires a space between the # and the first character, a tag doesn’t. So technically there’s a difference, no?
Its a trade-off
- Be really annoying out of the box when you try to create titles
vs
- Autocomplete for tags/categories
I see a minor feature request here which is fine for, when you are at the beginning of a line:
#b
autocomplete appears.
So we basically wait one more char instead of totally giving up.
我明白这是一个次要的功能请求,但这是否可以通过某种方式实现呢?
标签自动补全在我的社区中是一个关键功能,但由于在这种特定场景下自动补全不显示,用户根本不会链接到标签,导致帖子中充斥着大量 #错误标签名称。
谢谢。
当然欢迎为此进行改进 #pr-welcome。
大家好,
#标签建议 和 #分类建议 仅在句子中间有效,在行首或新行开头时则无效。
例如,这是一个有效的句子中间示例:#po
而这是一个无效的新行/行首示例,未提供任何建议:
#po
我似乎找不到任何相关说明。
这导致用户体验非常不一致。
这是有意为之的设计吗?
是的,这是有意为之的设计。就像在对话中一样,你通常会先说出想表达的内容,然后附上参考信息,或链接、标记其他对话或相关内容。
此前在此处有相关报道:
据称这是由标题 Markdown 语法导致的限制,通常当你以 # 开头时,这正是你期望的行为。
然而,我在社区中大量使用标签,并希望最终能解决这一问题,因为用户经常输错他们试图提及的标签。@sam 表示这属于 pr-welcome 范畴(允许在 # 后输入字母时出现下拉列表)。
我没想到这个话题已经有一个讨论帖了,所以我把对话合并到这里了。
它似乎已通过以下方式修复:
此主题已在 3 天后自动关闭。不再允许回复。

