Skip to content
TopicTracker
来自 daringfireball.net查看原文
译文语言译文语言

Markdown 现已在苹果第 27 版操作系统中拥有统一类型标识符(UTI)

苹果第 27 版操作系统的第三个开发者测试版今日发布,其中新增了 Markdown 数据的内置统一类型标识符(UTI):net.daringfireball.markdown,并遵循 public.utf8-plain-text 规范。作者更新了其早前的建议,明确使用 UTF-8 编码的纯文本类型,以适应当今 UTF-8 已广泛普及的现状。

背景速读

- **Uniform Type Identifier (UTI)** 是苹果生态里标识文件格式的系统,类似 MIME 类型但更精细。系统用它决定哪个 App 能打开什么文件,以及 App 之间如何传递数据。 - 此前 Markdown(一种轻量级纯文本标记语法,由 John Gruber 于 2004 年创建)只有非官方的 UTI `net.daringfireball.markdown`,且需要第三方手动注册才能使用。苹果现在正式将这个 UTI 内置到系统层,意味着所有苹果 OS(macOS / iOS / visionOS 等 27 个平台版本)原生识别 `.md` 文件为 Markdown,无需额外配置。 - **Conforms to `public.utf8-plain-text`** 意味着苹果将 Markdown 定义为 UTF-8 编码的纯文本的子类型。这在 2004 年不易做到(UTF-8 尚未普及),如今则是成熟且正确的选择。 - 作者 John Gruber 正是 Markdown 的发明人。这篇文章是他本人的确认和更新。

相关报道

  • Jimmy Wales announced that Wikipedia was live at wikipedia.com on January 15, 2001. The site was intended to be a "really quite snazzy" wiki complement to the Nupedia project, offering a more collaborative and less formal environment for building an encyclopedia.

  • OpenAI has announced Daybreak, a new initiative focused on advancing AI safety and alignment research to ensure artificial general intelligence benefits humanity.

  • SpaceX has announced plans to launch approximately one million satellites to create space-based data centres, according to the European Southern Observatory (ESO). The massive satellite constellation would significantly increase the number of objects in orbit, raising concerns about light pollution and interference with astronomical observations.