Skip to main content
Tutorial

Blogging With Markdown: From Editor to CMS

How to write blog posts in markdown and publish them to Ghost, Notion, WordPress, Hashnode, and other popular CMS platforms.

MarkGenie Team
8 min read
Free to read

In this article

📖 Comprehensive guide
⏱️ 8 min read
🎯 Tutorial
Advertisement

Blogging With Markdown: From Editor to CMS

Writing blog posts in markdown first gives you a fast, distraction-free writing experience in any editor, with the publishing power of your chosen platform.

Why Write in Markdown First

Portability. Your writing isn't locked in any platform. Switch CMSes and your content moves as plain text.

Focus. No toolbar, no formatting buttons. Just words.

Version control. Every draft is commitable — history, diffs, rollback.

Platform Guides

Ghost

Ghost has first-class markdown support — its editor is markdown-based.

Direct paste: Ghost's Koenig editor auto-converts markdown on paste. Write in MarkGenie, copy, paste into Ghost.

Ghost Admin API:

javascript
const api = new GhostAdminAPI({
  url: 'https://yourblog.ghost.io',
  key: 'YOUR_ADMIN_API_KEY',
  version: 'v5.0'
});

await api.posts.add({
  title: 'My Post Title',
  markdown: markdownContent,
  status: 'draft'
});

Hashnode

Hashnode natively supports markdown with frontmatter:

markdown
---
title: "My Post Title"
tags: ["javascript", "react"]
coverImage: "https://cdn.hashnode.com/..."
---

Your content here...

Click the Markdown icon in the editor toolbar, then paste.

Dev.to

Publish via API with frontmatter:

bash
curl -X POST https://dev.to/api/articles \
  -H "api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article": {"title": "My Post", "body_markdown": "# Hello\n\nContent.", "published": false}}'

WordPress

Enable Jetpack Markdown in Jetpack → Settings → Writing. Then paste markdown into the Classic Editor.

For the REST API, WordPress expects HTML — convert with marked or remark first.

Notion

Notion converts markdown on paste automatically:

  1. Write in markdown
  2. Copy all content
  3. Paste into a new Notion page

Headings, bold, italic, lists, and code blocks all convert correctly.

Structuring a Blog Post

markdown
---
title: "Your Post Title"
description: "150-160 characters for SEO"
date: 2026-01-15
tags: [tag1, tag2]
---

# Your Post Title

Hook sentence.

## The Problem

## The Solution

```code example```

## Key Takeaways
- Point one
- Point two

## Conclusion

CTA.

The Portable Blogging Workflow

Write in markdown (MarkGenie / VS Code / Obsidian)
    ↓
Review in live preview
    ↓
Save as .md file (backup + version control)
    ↓
Publish to CMS

Your content stays in a portable format, independent of any platform.

Start with MarkGenie for your next post — auto-save keeps your draft safe, live preview shows how it'll look.

Ready to try it yourself?

Put these tips into practice with MarkGenie's live markdown editor

Was this article helpful? Let us know!