{
    "componentChunkName": "component---src-templates-post-js",
    "path": "/use-markdown-emails-in-convertkit",
    "result": {"data":{"site":{"siteMetadata":{"title":"your friend Joel's digital garden","description":"Articles and notes from a collaborator at egghead.io. Musings on software, business, and life from a skilled virtual assistant.","author":{"name":"Joel Hooks"},"keywords":["Video Blogger"]}},"mdx":{"excerpt":"One time I was hanging out in Philidelphia and witnessed something fantastic. Patrick McKenzie (better know as patio11 on the Internets) delivered a  full on rap  enforcing his long standing rule that  everything is markdown  when it comes…","fields":{"github":"https://github.com/joelhooks/joelhooks-com/tree/master/content/blog/2020-11-13--bulletproof-markdown-to-convertkit-workflow-for-emails~~eVkyhcRI2/index.mdx"},"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"id\": \"eVkyhcRI2\",\n  \"slug\": \"use-markdown-emails-in-convertkit\",\n  \"date\": \"2020-11-13T00:00:00.000Z\",\n  \"title\": \"Use Markdown for Emails in Convertkit\",\n  \"published\": false\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"One time I was hanging out in Philidelphia and witnessed something fantastic. Patrick McKenzie (better know as patio11 on the Internets) delivered a \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"full on rap\"), \" enforcing his long standing rule that \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"everything is markdown\"), \" when it comes to text.\"), mdx(\"div\", {\n    style: {\n      marginTop: '45px',\n      marginBottom: '45px'\n    }\n  }, mdx(TwitterTweetEmbed, {\n    tweetId: '736214582469890052',\n    options: {\n      conversation: 'none',\n      align: 'center'\n    },\n    mdxType: \"TwitterTweetEmbed\"\n  })), mdx(\"p\", null, \"This stuck with me, as many pieces of advice patio11 has given me (all of us) over the years including \\\"charge more\\\" and \\\"dates devalue your content\\\". If you haven't had the opportunity, I recommend reading \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://www.kalzumeus.com/start-here-if-youre-new/\"\n  }, \"Patrick's blog\"), \" completely.\"), mdx(\"p\", null, \"For me, almost everything I write is markdown, or can easily be exported directly to markdown. Over the years this has saved my ass, made my content more portable, and generally been an excellent practice.\"), mdx(\"p\", null, \"One are that this has been modestly challenging for me is with \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://convertkit.com?lmref=ia534A\"\n  }, \"ConvertKit\"), \" (and email marketing in general).\"), mdx(\"p\", null, \"ConvertKit doesn't support markdown. In fact, I despise the editing experience in Convertkit like so many other platforms that provide a janky rich text editing experience. It's a hard problem, and I don't blame Convertkit, as most of their customers are likely to prefer a \\\"Miscrosoft Word style\\\" editing experience.\"), mdx(\"p\", null, \"No thanks.\"), mdx(\"p\", null, \"All of my emails start as simple text files that contain markdown.\"), mdx(\"p\", null, \"I usually write them in a fantastic Mac application called \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"http://www.markdownpro.com/\"\n  }, \"Markdown Pro\"), \". Markdown Pro has a lot of features. Most of which I ignore. Instead, it's just a notepad that has a nice preview.\"), mdx(\"p\", null, \"When you're done editing markdown, simple right-click on the preview and choose \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"copy raw html\"), \".\"), mdx(\"p\", null, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"copy raw html\"), \" is the secret sauce here, and what makes going from markdown to Convertkit so easy with Markdown Pro.\"), mdx(\"p\", null, \"This \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"raw HTML pastes directly into the Convertkit editor\"), \"!\"), mdx(\"p\", null, \"Images can be trickier. Usually you'll want upload them to Cloudinary or some other content delivery network (CDN). If needed, you can use \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"<img/>\"), \" tags directly in Markdown Pro with \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"style=\\\"width:400px; height: auto;\\\"\"), \" or whatever else you might need for fancy pants layout or whatever.\"), mdx(\"p\", null, \"That's it! Now you've got a local copy of your emails that you can save or even version control, and a well-styled HTML email in \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://convertkit.com?lmref=ia534A\"\n  }, \"Convertkit\"), \". \"), mdx(\"p\", null, \"Done.\"));\n}\n;\nMDXContent.isMDXComponent = true;","frontmatter":{"title":"Use Markdown for Emails in Convertkit","date":"November 13, 2020","banner":null,"slug":"use-markdown-emails-in-convertkit","keywords":null}}},"pageContext":{"id":"50531520-9124-5dc6-981a-e08601b132bb","prev":{"id":"19a4d32d-6186-5d4c-be9b-8a01c0628862","parent":{"name":"index","sourceInstanceName":"blog"},"excerpt":"When the barber, an expert in their field, insists that you tell them how you want your hair cut. You fuckin tell  me  how it should be cut please. 😂","fields":{"title":"The Barber Shop Paradox","slug":"barber-shop-paradox","date":"2020-12-02T00:00:00.000Z"}},"next":{"id":"a807cde7-9199-51be-9445-10fdc498147f","parent":{"name":"index","sourceInstanceName":"blog"},"excerpt":"Convertkit  automations provide a powerful mechanism for delivering  self-paced email courses  that can transition into an evergreen product pitch and promotion for your product. A typical approach is to offer some form of  lead magnet  as a  call to…","fields":{"title":"Self-Paced Email Course and Evergreen Product Pitch using Convertkit Automations","slug":"self-paced-email-course-convertkit","date":"2020-10-18T00:00:00.000Z"}}}},
    "staticQueryHashes": ["1045846374"]}