超链接时搜索现有主题

Hi everyone, if I may give you a suggestion.

When in editor and hyperlinking a word in a post, it would be a great idea to write a word/keys and dynamically search for matching topics. Because I’m finding myself linking references to other topics.

I saw a similar feature on some wordpress plugins, to easily put anchors and relate content.

11 个赞

This is a duplicate of some other requests:
:lock: Insert internal link like Wordpress
:lock: Fast way to link to existing topic?
:unlock: https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350

You can kind of do something similar when composing by opening the header search, typing your query, using the down arrow ↓ to select the topic you want, and then hitting a to insert the link into the composer (totally recognize that it’s a power-user feature, and something in the hyperlink modal would be much more discoverable).

7 个赞

:confetti_ball: 此功能仅在几分钟前被添加到核心中。

17 个赞

我不愿做那个“扫兴的人”,但我觉得分类和标签也应该出现在那里,对吧?

4 个赞

同样包括关闭图标/已解决图标等,就像搜索显示的那样。基本上与搜索相同,只是去掉了单行的摘要。

3 个赞

此功能已更新,支持分类、标签以及话题状态(如已关闭、已解决、置顶等)。

11 个赞

这是 discourse 中最有用的功能之一,可以更轻松地在主题之间进行交叉链接。

一个问题:在此功能中实现跨站点搜索有多难?例如,搜索外部帮助文档站点,并允许搜索该内容并链接到它。

1 个赞

目前,这并未设置为可扩展以包含其他搜索结果。我想插件可以扩展该路由并返回其他结果,但这可能不是一个简单的更改。

我没这么想。索引技术是否可以指向插件中的另一个站点?