{
	"$schema": "https://playground.wordpress.net/blueprint-schema.json",
	"landingPage": "/wp-admin/tools.php?page=summix-getmd",
	"preferredVersions": {
		"php": "8.0",
		"wp": "6.8"
	},
	"phpExtensionBundles": [
		"kitchen-sink"
	],
	"steps": [
		{
			"step": "installPlugin",
			"pluginData": {
				"resource": "wordpress.org/plugins",
				"slug": "summix-getmd"
			}
		},
		{
			"step": "login",
			"username": "admin"
		},
		{
			"step": "runPHP",
			"code": "<?php\nrequire_once 'wordpress/wp-load.php';\n\n// Create categories.\n$tutorials_cat = wp_create_category( 'Tutorials' );\n$news_cat = wp_create_category( 'News' );\n\n// Create tags.\nwp_insert_term( 'markdown', 'post_tag' );\nwp_insert_term( 'export', 'post_tag' );\nwp_insert_term( 'ai', 'post_tag' );\nwp_insert_term( 'wordpress', 'post_tag' );\n\n// Post 1: Getting Started with AI-Ready Content.\n$post1_content = '\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">Why AI-Ready Content Matters</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>As AI assistants and large language models become more prevalent, having your content in a machine-readable format is essential. Markdown provides the perfect balance of human readability and machine parseability.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">Key Benefits</h3>\n<!-- /wp:heading -->\n\n<!-- wp:list -->\n<ul class=\"wp-block-list\">\n<li>Clean, semantic structure</li>\n<li>Easy to parse for AI systems</li>\n<li>Preserves formatting intent</li>\n<li>Lightweight and portable</li>\n</ul>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">Getting Started</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Simply install the GetMD plugin and navigate to <strong>Tools &rarr; Summix GetMD</strong> to begin exporting your content.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:quote -->\n<blockquote class=\"wp-block-quote\"><p>\"The future of content is AI-accessible content.\"</p></blockquote>\n<!-- /wp:quote -->\n';\n\nwp_insert_post( array(\n\t'post_title'    => 'Getting Started with AI-Ready Content',\n\t'post_content'  => $post1_content,\n\t'post_status'   => 'publish',\n\t'post_type'     => 'post',\n\t'post_category' => array( $tutorials_cat ),\n\t'tags_input'    => array( 'ai', 'markdown', 'wordpress' ),\n) );\n\n// Post 2: Markdown Export Best Practices.\n$post2_content = '\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">Export Configuration</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>GetMD offers flexible export options to suit your workflow:</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol class=\"wp-block-list\">\n<li>Select your content types (posts, pages, custom types)</li>\n<li>Filter by category, tag, or author</li>\n<li>Choose date ranges for selective exports</li>\n<li>Configure frontmatter options</li>\n</ol>\n<!-- /wp:list -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">YAML Frontmatter</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Each exported file includes structured metadata:</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>---\ntitle: \"Your Post Title\"\ndate: 2024-01-15\nauthor: admin\ncategories:\n  - Tutorials\ntags:\n  - markdown\n  - export\n---</code></pre>\n<!-- /wp:code -->\n\n<!-- wp:paragraph -->\n<p>This metadata helps AI systems understand context and relationships between your content pieces.</p>\n<!-- /wp:paragraph -->\n';\n\nwp_insert_post( array(\n\t'post_title'    => 'Markdown Export Best Practices',\n\t'post_content'  => $post2_content,\n\t'post_status'   => 'publish',\n\t'post_type'     => 'post',\n\t'post_category' => array( $tutorials_cat ),\n\t'tags_input'    => array( 'markdown', 'export' ),\n) );\n\n// Post 3: News post.\n$post3_content = '\n<!-- wp:paragraph -->\n<p>We are excited to announce that GetMD now supports real-time Markdown previews! Visit any post on your site and add <code>?view=md</code> to the URL to see the Markdown version instantly.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">New Features</h2>\n<!-- /wp:heading -->\n\n<!-- wp:list -->\n<ul class=\"wp-block-list\">\n<li>AI-friendly HTTP headers for crawler detection</li>\n<li>Automatic <code>&lt;link rel=\"alternate\"&gt;</code> tags for discovery</li>\n<li>CommonMark-compatible output</li>\n</ul>\n<!-- /wp:list -->\n\n<!-- wp:paragraph -->\n<p>Try it now: add <strong>?view=md</strong> to any post URL!</p>\n<!-- /wp:paragraph -->\n';\n\nwp_insert_post( array(\n\t'post_title'    => 'New: Real-Time Markdown Preview',\n\t'post_content'  => $post3_content,\n\t'post_status'   => 'publish',\n\t'post_type'     => 'post',\n\t'post_category' => array( $news_cat ),\n\t'tags_input'    => array( 'ai', 'wordpress' ),\n) );\n\n// Page: About.\n$page_content = '\n<!-- wp:paragraph -->\n<p>GetMD is a WordPress plugin that makes your content AI-ready. Export your posts and pages to clean, standardized Markdown files perfect for:</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:list -->\n<ul class=\"wp-block-list\">\n<li>Training AI models and RAG pipelines</li>\n<li>Documentation systems</li>\n<li>Static site generators</li>\n<li>Content migration</li>\n<li>Backup and archival</li>\n</ul>\n<!-- /wp:list -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">How It Works</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>GetMD converts your WordPress content to Markdown while preserving semantic structure. Headers, lists, code blocks, and formatting are all maintained in the output.</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Visit <strong>Tools &rarr; Summix GetMD</strong> in your WordPress admin to get started.</p>\n<!-- /wp:paragraph -->\n';\n\nwp_insert_post( array(\n\t'post_title'   => 'About GetMD',\n\t'post_content' => $page_content,\n\t'post_status'  => 'publish',\n\t'post_type'    => 'page',\n) );\n\necho 'Demo content created successfully!';\n"
		}
	]
}
