跳到正文
Google Developers Blog·· 1 天前AI 评分69

Google Docs 和 Drive 原生支持 Markdown(.md)文件的预览、编辑与协作

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

AI 导读

Google 宣布 Google Docs 和 Drive 现已原生支持 Markdown(.md)文件,任何 Google 或 Workspace 账号用户上传 .md 文件即可开始协作。

正文 · 原文

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