{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "meta": {
    "title": "Simple Export to Markdown demo",
    "description": "Playground demo that installs and opens the Simple Export to Markdown plugin in the post editor.",
    "author": "Pavel Sherer",
    "categories": [
      "plugins",
      "editor"
    ]
  },
  "preferredVersions": {
    "php": "7.4",
    "wp": "6.0"
  },
  "login": true,
  "siteOptions": {
    "blogname": "Simple Export to Markdown demo"
  },
  "landingPage": "/wp-admin/post.php?post=1&action=edit",
  "steps": [
    {
      "step": "installPlugin",
      "pluginData": {
        "resource": "wordpress.org/plugins",
        "slug": "simple-export-md"
      },
      "options": {
        "activate": true
      }
    },
    {
      "step": "runPHP",
      "code": "<?php\nrequire_once '/wordpress/wp-load.php';\n\nwp_insert_post( array(\n 'ID' => 1,\n 'post_title' => 'Simple Export to Markdown demo',\n 'post_content' => '<!-- wp:paragraph --><p>This is a demo post for the <strong>Simple Export to Markdown</strong> plugin. Open the Settings sidebar, find the Export to Markdown panel and try exporting this post.</p><!-- /wp:paragraph --><!-- wp:heading --><h2>Sample content</h2><!-- /wp:heading --><!-- wp:list --><ul><li>Paragraph</li><li>Heading</li><li>List</li></ul><!-- /wp:list -->',\n 'post_status'  => 'publish',\n 'post_type' => 'post'\n) );\n"
    }
  ]
}
