# Discourse 核心现已包含用于主题列表和视图的 Markdown 端点

**URL:** <https://meta.discourse.org/t/discourse-core-now-includes-markdown-endpoints-for-topic-lists-and-views/413006>\
**Category:** Announcements\
**Created:** [2026年九月22日 14:35 UTC](https://meta.discourse.org/t/discourse-core-now-includes-markdown-endpoints-for-topic-lists-and-views/413006 "2026-09-22T14:35:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [2026年九月24日 16:51 UTC](https://meta.discourse.org/t/discourse-core-now-includes-markdown-endpoints-for-topic-lists-and-views/413006/6 "2026-09-24T16:51:28Z")

</div>

> [@Orioni](#):
>
> 由于我目前使用的是原始的 Discourse-to-Markdown 插件，为了避免输出冲突，我需要禁用并删除它吗？

是的。如果该插件保持启用状态，它会替换一些核心端点，因此我们建议禁用/卸载该插件，以便使用现在内置于核心中的功能。

> [@Moin](#):
>
> 支持哪些主题列表？

目前支持以下列表：

| 支持类型 | 示例 |
| --- | --- |
| 主要列表 | `/latest.md`, `/hot.md`, `/top.md` |
| 需要身份验证的个性化列表 | `/new.md`, `/unread.md` |
| 默认分类/子分类列表 | `/c/support/6.md`, `/c/parent/child/12.md` |
| 单标签列表 | `/tag/example.md`, `/tag/example/123.md` |

此外，`/categories.md` 和 `/tags.md` 也作为目录受到支持。[路由定义](https://github.com/discourse/discourse/blob/main/config/routes.rb#L16)

> [@eisammy](#):
>
> 如果我在代理后面，由于该功能是为订阅者设计的，它会阻止将请求头从 HTML 转换为 .md，还是因为客户端支持转换，所以无论如何都会发生？

我对 Cloudflare 的这个功能不太熟悉，但据我了解，它会在请求到达服务器之前捕获 `Accept text/markdown` 请求，将 HTML 进行转换，然后提供该结果。因此，如果使用 Cloudflare，该功能似乎会覆盖 Discourse 的功能。

---

_[View the full topic](https://meta.discourse.org/t/discourse-core-now-includes-markdown-endpoints-for-topic-lists-and-views/413006)._
