跳到正文
Google Developers Blog·· 1 天前精选AI 评分72

Google Docs 和 Drive 原生支持 Markdown 文件预览、编辑与协作

Preview, edit, and collaborate on markdown (.md) files natively in Google Docs and Drive

AI 导读

Google 宣布 Google Docs 和 Drive 原生支持 Markdown(.md)文件,用户可直接查看、编辑和协作,无需转换文件格式。功能包括文档头部的 .md 徽标、人类与 AI 智能体实时共同编辑、行级评论与建议、完整版本历史,以及 Drive 中支持表格和超链接的渲染预览并可切换原始文本。任何 Google 或 Workspace 账号用户上传 .md 文件即可使用。

推荐理由

原文说明 Google Docs 原生支持 .md 文件的编辑与协作细节,开发者可据此评估文档与 git 工作流的衔接方式。

正文 · 原文

OCT. 26, 2026

Google Workspace is bridging the gap between code and collaboration by providing a familiar, real-time environment where developers and AI agents can seamlessly work together on documentation.

Markdown (.md) is a standard text format widely used by LLMs to preserve structured content—such as tables, headers, and bulleted lists—without the overhead of bulky file formats. Markdown file usage in Google Drive has surged year-over-year, indicating how critical this format has become for modern, fast-paced workflows.

Now, you can natively view, edit, and collaborate in markdown files directly in Google Docs, eliminating the friction of manual file conversions. You can edit without changing file types while ensuring your underlying documentation is preserved for developer tools and git repositories. Plus, with rendered previews in Google Drive, you can easily review formatting with a click.

Built for human and agent collaboration

As AI agents take on larger roles in drafting, planning, and coding, markdown serves as a collaborative common language between humans and AI tools because it is easily readable by both. Google Docs provides a familiar, easy-to-use environment, acting as a shared bridge where team members and autonomous agents work together directly on the same documents. When you open a markdown file in Google Docs, you have:

  • Native file fidelity: Manage and edit .md files directly in Google Docs without converting them into a different format. A visible .md badge in the document header clearly indicates you are working in a native markdown file.
  • Real-time collaboration: Teammates and AI agents can co-edit the same file to maintain a single source of truth across engineering, product, and AI tools. You can also leverage Google Docs commenting to leave real-time, line-level feedback and track suggestions.
  • Tracked version history: Maintain a complete, transparent audit trail of all revisions made across both human contributors and AI agents.
  • Storage in Drive: Preview rich, formatted markdown files directly inside Drive—with full support for tables and hyperlinks—or seamlessly toggle to raw text without needing a separate viewer.

By combining the simplicity of markdown with the powerful real-time collaboration of Google Docs, teams now have a unified workspace to draft, review, and ship technical content faster.

Availability

Anyone with a Google or Workspace account can get started today by uploading an .md file to Google Drive and begin collaborating directly in Google Docs.

Previous

Next

来源:Google Developers Blog · developers.googleblog.com