Blog Post

Microsoft OneDrive Blog
5 MIN READ

Introducing Markdown support in SharePoint and OneDrive

arwazt's avatar
arwazt
Icon for Microsoft rankMicrosoft
Apr 21, 2026

As AI moves from answering questions to carrying out real work, teams need a reliable way to store, manage, and refine the instructions and context that guide how AI operates. Markdown files are increasingly becoming that foundation, acting as durable AI artifacts that capture rules, preferences, and repeatable processes.

Today, we’re introducing native Markdown support in SharePoint and OneDrive, now rolling out to general availability across both consumer and commercial audiences. As AI and agents increasingly create and update Markdown files to carry out work, teams need a reliable place to manage that content. SharePoint and OneDrive make it easy to view and edit these files in the browser when precision, intent, or changes are required, with built‑in versioning and governance. Markdown files are now fully integrated into the Microsoft 365 file experience, behaving like any other file in your workflow.

View Markdown in the browser

The updated .md file viewer introduces a modern reading experience directly in the browser across M365. Markdown files now render with modern typography, replacing the outdated styling of the previous experience. Tables, checkboxes, links, and code blocks all render correctly, with full syntax highlighting code blocks. Changes you make are reflected in real time.

For folks new to Markdown, the preview mode translates source Markdown into a more readable format, enabling you to review content stored as .md files.

Edit Markdown

The native Markdown editor enables teams to update .md files directly, right in SharePoint and OneDrive. Users can switch between View, Edit, and Split modes, with side‑by‑side editing and preview capabilities that reflect changes in real time. The editing experience includes a formatting toolbar that supports headings, code blocks, links, images, and lists, making it easier to update .md file content without needing to manually write syntax.

Create and access Markdown files

You can now create .md files directly in OneDrive or SharePoint using the Create or Upload button and easily find them using file type filters pills across views like Home, My Files, and Document Libraries and other views. Markdown files support the same actions and commands as other Microsoft 365 files.

Put Markdown files to work

Markdown powers skills in SharePoint and OneDrive

The true value of Markdown occurs when AI apps and agents make use of the knowledge in them. For example, today, we are announcing that AI in SharePoint can remember team preferences and learn skills that can be shared by the whole team. Behind the scenes, this group memory is powered by .md  files stored in an all-new Agents Assets library, which uses these new Markdown viewing and editing capabilities to give team members the ability to see what AI in SharePoint remembers about the site. This is the first of many use cases where agents can leverage SharePoint and OneDrive content management capabilities to store knowledge and context.

One file, many surfaces

Because .md files live in OneDrive and SharePoint, they're accessible everywhere Microsoft 365 content flows, from SharePoint sites and OneDrive folders to shared links opened in Teams, Outlook, and the browser. Author a .md file once and it's available to the people, tools, and AI experiences that need it.

Get started

Try it out now in a OneDrive or SharePoint document library. View, edit, and share your .md files, or create a new one to get started.

This new Markdown experience is just the beginning. Stay tuned as we continue to bring more innovation to .md files and AI across OneDrive and SharePoint, so you can turn knowledge into action faster.

 

Join our team of product experts in a lineup of great sessions at the Microsoft 365 Community Conference:

Learn more

Updated Apr 21, 2026
Version 1.0

2 Comments

  • PeterMc's avatar
    PeterMc
    Copper Contributor

    How about exporting files and notebooks from OneNote as .md files? 

  • Dennis Gaida's avatar
    Dennis Gaida
    Iron Contributor

    So what flavor of markdown is supported? Base markdown? Github based markdown? Some markdown extensions like mermaid diagrams etc.?