QH Markdown Exporter

توسط

QH Markdown Exporter lets you export any combination of post types and statuses as Markdown files — perfectly formatted for Obsidian and other Markdown-based note-taking apps.

Key features:

  • YAML frontmatter — title, source URL, author, published date, description, tags, and full hierarchical categories
  • Extended metadata (optional, on by default) — adds word_count, outline (ordered H2–H4 heading list), and internal_links (structured list of links to other exported posts) to each file’s frontmatter — ideal for AI/SEO tooling
  • Clean content — strips sidebars, widgets, navigation, related-posts blocks, social-share plugins, and other injected noise
  • GFM tables — converts HTML tables to GitHub-Flavored Markdown pipe tables
  • Bulk export — export your entire site at once or filter by post type, status, and date range
  • Large-site support — chunked AJAX export with live progress bar handles sites with thousands of posts
  • Sitemap export — optional sitemap.json bundled in the ZIP: hierarchical pages tree, posts grouped by category, and custom post types — ready for AI/LLM ingestion
  • No dependencies — pure PHP with no external libraries required

Output format:

Each post becomes a .md file named YYYY-MM-DD_Post Title.md containing:

`

title: “Post Title”
source: “https://yoursite.com/post-slug/”
author:
– “[[Author Name]]”
published: 2024-01-15
created: 2024-06-01
description: “Post excerpt or auto-generated summary…”
tags:
– tag-name
categories:
– “Parent > Child”
word_count: 1250
outline:
– “## What This Post Covers”
– “### Step One”
– “## Conclusion”
internal_links:
– slug: “related-post-slug”
anchor: “related post title”

url: “https://yoursite.com/related-post-slug/”

Post Title

Post body in Markdown…
`

The word_count, outline, and internal_links fields are added when Include extended metadata is ticked (default: on). internal_links only lists links to other posts included in the current export — external links and links to non-exported content are excluded.

All files are bundled into a single ZIP archive named {sitename}_md_export_YYYY-MM-DD.zip.

  1. Upload the qh-markdown-exporter folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugin screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Tools MD Exporter.
  4. Select the post types and statuses you want to export, optionally set a date range, and click Export & Download ZIP.

سوالات متداول

Which post types are supported?

All public post types registered on your site are available. The attachment post type is excluded by default.

How does it handle large sites?

For exports above 100 posts the plugin automatically switches to a chunked AJAX export. You will see a live progress bar. Each batch of 100 posts is processed separately to avoid server timeouts.

Does it export images?

Image tags are converted to Markdown ![alt](src) format pointing to the original URLs on your site. The image files themselves are not downloaded or included in the ZIP.

What capability is required to use the exporter?

Users must have the export capability (Editor role and above by default).

Will it conflict with page-builder plugins?

The exporter reads raw post_content and processes it through do_blocks() (Gutenberg) then converts HTML to Markdown. It intentionally bypasses the_content filters to avoid injected content from page builders and other plugins.

تصویری برای این آیتم موجود نیست.
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
بدون امتیاز

قیمت:

رایگان

نگارش

آخرین انتشار

16 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 5.8+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

PHP 7.4+

نسخه ها

0 نسخه