Blog Post

Microsoft OneDrive Blog
5 MIN READ

Introducing Markdown support in SharePoint and OneDrive

Arwa_Tyebkhan's avatar
Arwa_Tyebkhan
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

6 Comments

  • Wololo2210's avatar
    Wololo2210
    Copper Contributor

    This is a stunning feature! This will help so much with visual standardisation. I know it was made with AI's skills in mind, but I would still like to give some feedback and feature requests for the humains out there.

    0. Love the dark mode support out of the box! Thank you.

    1. Great to see LaTeX support!

    2. Happy to see checklist support, even though it renders in a weird way:

     

     

     

     

    3. h3 and h4 seem to have the exact same style. This isn't ideal.

    4. Some feature requests:

    1. Please add support for code block syntax highlighting AT A MINIMUM for your own technologies (csharp, sql, ts, pwsh)
    2. Please add support for mermaid.js (and keep it up to date, unlike Azure DevOps 😁)
    3. Please add support for "Callouts" (https://obsidian.md/help/callouts). Because we can't add our own styles (which is reasonable), this would allow users to apply a minimum of visual attraction that MD usually lacks.
    4. Please support pasting images, though I know that can be a huge undertaking.

     

    Thank you again! Please keep working on the MD editor! If you open source it, the company I work at would gladly contribute as well.

  • joshmeseattle's avatar
    joshmeseattle
    Copper Contributor

    I'm super excited about this - I already sync my Obsidian vault with OneDrive so now I can access my notes from any browser - game changer! Is markdown editing support coming to the OneDrive Android app too?

  • vcfvct's avatar
    vcfvct
    Copper Contributor

    Awesome 👍 This is super helpful for work.

  • 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.?