# 外部链接图标

**URL:** <https://meta.discourse.org/t/external-links-icon/392222>\
**Category:** Theme component\
**Created:** [2025年十二月27日 08:36 UTC](https://meta.discourse.org/t/external-links-icon/392222 "2025-12-27T08:36:34Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Thomas\_Köster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_k%C3%B6ster/32/515674_2.png) [@Thomas\_Köster](https://meta.discourse.org/u/Thomas_K%C3%B6ster)\
**Post date:** [2026年二月3日 08:12 UTC](https://meta.discourse.org/t/external-links-icon/392222/8 "2026-02-03T08:12:31Z")

</div>

我也是。图标也出现在内部链接上。

如果我正确理解了代码，它会查找 URL 中的“http\*”来判断外部链接。不幸的是，编辑器中的链接工具会自动使用以“https:///..”开头的完全限定（绝对）URL。

我假设这导致了“内部”链接上出现外部图标。

代码能否扩展以检查“https:///..”并将这些归类为内部链接？

---

_[View the full topic](https://meta.discourse.org/t/external-links-icon/392222)._
