{"id":2915,"date":"2013-11-19T21:01:33","date_gmt":"2013-11-20T02:01:33","guid":{"rendered":"http:\/\/www.red-sweater.com\/blog\/?p=2915"},"modified":"2013-11-19T21:01:33","modified_gmt":"2013-11-20T02:01:33","slug":"markdown-on-wordpress-com","status":"publish","type":"post","link":"https:\/\/redsweater.com\/blog\/2915\/markdown-on-wordpress-com","title":{"rendered":"Markdown On WordPress.com"},"content":{"rendered":"<p>The folks at WordPress.com have <a href=\"http:\/\/en.blog.wordpress.com\/2013\/11\/19\/markdown\/\">great news<\/a> for fans of <a href=\"http:\/\/daringfireball.net\/projects\/markdown\/\">Markdown<\/a>. It\u2019s now built-in by default to every WordPress.com blog, and it\u2019s super-easy to enable:<\/p>\n<blockquote><p>\nTo start using Markdown, go to Settings \u2192 Writing in your blog dashboard, check the box next to Use Markdown for posts and pages, and save.\n<\/p><\/blockquote>\n<p>I just enabled it for one of my test blogs and am happy to report that <strong><a href=\"http:\/\/red-sweater.com\/marsedit\/\">MarsEdit<\/a> works perfectly for publishing with Markdown to WordPress.com.<\/strong> They mention that it\u2019s best to stick to the &#8220;plain text&#8221; editor on WordPress.com, and the same is true for MarsEdit. You\u2019ll want to stick with editing in &#8220;HTML Text&#8221; mode so the plain Markdown text can get to your blog without being wrapped in HTML generated by MarsEdit\u2019s rich editor.<\/p>\n<p>I wrote recently about MarsEdit\u2019s ability to <a href=\"http:\/\/www.red-sweater.com\/blog\/2903\/markdown-anywhere-with-marsedit\">automatically convert Markdown to HTML<\/a> before publishing a post. It\u2019s worth noting that if you use the new Markdown functionality on WordPress, you probably want to avoid MarsEdit converting to HTML. This is because WordPress\u2019s implementation of the Markdown feature does things &#8220;the right way&#8221; in my opinion, storing the original Markdown as the text of the post, so you can make further edits to the post by editing the original Markdown and not the converted HTML.<\/p>\n<p>The only downside I\u2019ve noticed so far is that when you download a post through the API from MarsEdit or from the official WordPress apps, the content <em>is converted to HTML<\/em> even though it shouldn\u2019t be. The original Markdown does show up in the web-based WordPress admin panel. I\u2019m going to report this as a bug and hopefully they will agree that it should be fixed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The folks at WordPress.com have great news for fans of Markdown. It\u2019s now built-in by default to every WordPress.com blog, and it\u2019s super-easy to enable: To start using Markdown, go to Settings \u2192 Writing in your blog dashboard, check the box next to Use Markdown for posts and pages, and save. I just enabled it [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-2915","post","type-post","status-publish","format-standard","hentry","category-marsedit"],"_links":{"self":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/2915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/comments?post=2915"}],"version-history":[{"count":1,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/2915\/revisions"}],"predecessor-version":[{"id":2916,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/2915\/revisions\/2916"}],"wp:attachment":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/media?parent=2915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/categories?post=2915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/tags?post=2915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}