Guides / Markdown
Markdown in Confluence Cloud: shortcuts, pasting and importing .md files
The Confluence Cloud editor understands a few Markdown shortcuts while you type and converts pasted Markdown once into rich text. After that it is ordinary Confluence content: you cannot edit it as Markdown again, and it does not follow the file in your repository. Here is what Confluence does on its own, and how to keep Markdown as Markdown with SourceDocs.
Is there a Markdown mode in Confluence Cloud?
No. Confluence Cloud has no mode for editing a page as Markdown and no built-in Markdown macro: typing /markdown in the editor lists only Markdown macros from apps, plus the keyboard shortcut help. What it does have is Markdown-style shortcuts while you type and a conversion when you paste Markdown, both described below. The result is always rich text, not Markdown.
Markdown shortcuts while you type
The editor turns these into formatting as you type (press Ctrl+/ in the editor for the full list, or see Atlassian's available Markdown commands):
#to######and a space for headings;**bold**,*italic*,~~strikethrough~~,`code`.*or1.and a space for lists,>for a quote,```for a code block,---for a divider.[text](https://example.com)for a link,[]for an action item.
Paste Markdown into Confluence
Pasting plain-text Markdown into the editor converts it into Confluence formatting. In our test on 22 October 2026, headings, bold and inline code, bulleted and numbered lists, tables, fenced code blocks, quotes, task lists and links all converted. Two things to know:
- A
```mermaidor```plantumlblock becomes a code block showing the source text, not a diagram. - The pasted text is a copy. It becomes ordinary Confluence content, you cannot edit it as Markdown later, and it does not change when the file in your repository changes.
Import Markdown files into Confluence
Confluence's own importer (Confluence settings → Import from other tools) brings content from Notion, Miro, Mural and HTML files. When we checked on 22 October 2026 it had no option for Markdown files. Your choices:
- One file, once: open the
.mdfile, copy its text and paste it into a page, as above. - Many files, once: convert them to HTML with a tool of your choice and use the HTML import (in beta).
- Files that keep changing: do not import them. Show them on the page straight from GitHub, GitLab, Bitbucket or Azure DevOps with SourceDocs, so the page always shows the current version and the file stays the single source. See below.
Write Markdown in the page with live preview
- Install SourceDocs for Confluence from the Atlassian Marketplace. A Confluence admin does this once for the site.
- Edit a page, type
/markdownand pick SourceDocs: Markdown. - Type or paste Markdown on the left; the preview on the right updates as you type.
- Press Ctrl+Enter (or click Save) and publish the page.
This is handy for text that is produced as Markdown anyway: release notes from CI, checklists, tables, and answers from AI assistants. Paste them without reformatting, and edit them later as Markdown.
Show a README or .md file from Git
- Open the file in GitHub, GitLab, Bitbucket Cloud or Azure DevOps and copy the address from the browser bar. For a README, the repository's main page link is enough.
- In Confluence, type
/git, pick SourceDocs: File from Git, paste the link and click Preview. - Save. The page follows the branch or tag in the link and picks up changes within 10 minutes; Refresh fetches them immediately.
Private repositories work after an admin stores a read-only token once. More in embedding files from Git.
What is supported
- GitHub-flavoured Markdown: headings, emphasis, nested lists, task lists (
- [x]), tables, blockquotes, autolinks and code blocks with syntax highlighting. - GitHub alerts (
> [!NOTE],[!TIP],[!IMPORTANT],[!WARNING],[!CAUTION]) as coloured callouts. ```mermaid,```plantumland```pumlblocks drawn as diagrams. See Mermaid and PlantUML.- The HTML that READMEs use (
<p align="center">,<img>,<details>,<kbd>), cleaned of scripts, styles and forms. - YAML front matter from Jekyll, Hugo, Docusaurus or MkDocs, shown as a small table instead of stray text.
- For files from Git: relative links open the right file in the repository, images from the repository load (private ones too), and heading links jump within the page.
Export
In PDF and Word export, Markdown becomes real Confluence headings, paragraphs, lists, tables and code blocks, and alerts become Confluence panels. Long documents paginate like the rest of the page instead of printing a cut-off screenshot. Diagrams are embedded as vector pictures.
Questions
Can I convert Markdown into normal Confluence content?
SourceDocs does not convert the page; the Markdown stays editable as Markdown. If you want a one-time conversion, paste the Markdown straight into the Confluence editor instead (see Paste Markdown).
Can I show a GitHub wiki page?
Yes. Paste the address of the wiki page, for example https://github.com/org/repo/wiki/Getting-Started. See GitHub wiki in Confluence.
Do images on other websites show?
Images from Git providers and common badge services (shields.io, Codecov and others) show directly. Images on other websites appear as a link unless an admin allows images from any website on the SourceDocs admin page.
What does it cost?
Free for Confluence sites with up to 10 users. Above that, from 0.45 USD per user per month, with a 30-day free trial on the Marketplace.
More guides: Mermaid in Confluence · PlantUML in Confluence · Files from GitHub and GitLab in Confluence · OpenAPI in Confluence · GitHub wiki to Confluence