{"id":1228,"date":"2016-02-19T08:40:48","date_gmt":"2016-02-19T08:40:48","guid":{"rendered":"http:\/\/www.sharonmurphy.com\/wordpress\/?p=1228"},"modified":"2020-07-24T13:21:17","modified_gmt":"2020-07-24T12:21:17","slug":"pandoc","status":"publish","type":"post","link":"https:\/\/www.sharonmurphy.com\/wordpress\/2016\/02\/pandoc\/","title":{"rendered":"Pandoc"},"content":{"rendered":"<p>I&#8217;m a bit of a junkie for markup languages: I&#8217;ve used many, experimented with more, and am always eager to try a new one. <a href=\"http:\/\/pandoc.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Pandoc<\/a> is a delight of a tool that allows you to convert from one markup language to another. There&#8217;s a proper, installable tool you can put on your local machine to handle full files, which will do a whole lot of the work for you, but you&#8217;ll still need to do some clean up on the results.<br \/>\nSomething I find useful in itself, though, is the <a href=\"http:\/\/pandoc.org\/try\/\" target=\"_blank\" rel=\"noopener noreferrer\">Try pandoc<\/a> online demo.<!--more--><\/p>\n<p>On the <a href=\"http:\/\/pandoc.org\/try\/\" target=\"_blank\" rel=\"noopener noreferrer\">Try pandoc<\/a> web page, you:<\/p>\n<ol>\n<li>Select source and destination markup languages.<\/li>\n<li>Drop a block of content in the source markup type into a text area. (Very long samples will be truncated.)<\/li>\n<li>Click <b>Convert<\/b> to populate the second text area on the page with markup of the second type that does the same thing as the block you supplied.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.sharonmurphy.com\/wordpress\/wp-content\/uploads\/2016\/02\/pandocDemo.png\" rel=\"attachment wp-att-1238\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.sharonmurphy.com\/wordpress\/wp-content\/uploads\/2016\/02\/pandocDemo-1024x450.png\" alt=\"Try Pandoc MD to HTML\" width=\"840\" height=\"369\" class=\"alignnone size-large wp-image-1238\" srcset=\"https:\/\/www.sharonmurphy.com\/wordpress\/wp-content\/uploads\/2016\/02\/pandocDemo-1024x450.png 1024w, https:\/\/www.sharonmurphy.com\/wordpress\/wp-content\/uploads\/2016\/02\/pandocDemo-300x132.png 300w, https:\/\/www.sharonmurphy.com\/wordpress\/wp-content\/uploads\/2016\/02\/pandocDemo-768x337.png 768w, https:\/\/www.sharonmurphy.com\/wordpress\/wp-content\/uploads\/2016\/02\/pandocDemo.png 1163w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<p>If you already know how to do something in one markup, this is a very handy way to quickly get an example of the syntax for doing the same thing in another without taking the time to trawl the reference docs. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a bit of a junkie for markup languages: I&#8217;ve used many, experimented with more, and am always eager to try a new one. Pandoc is a delight of a tool that allows you to convert from one markup language to another. There&#8217;s a proper, installable tool you can put on your local machine to &hellip; <a href=\"https:\/\/www.sharonmurphy.com\/wordpress\/2016\/02\/pandoc\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Pandoc&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,29],"tags":[5,57,19,58,34],"class_list":["post-1228","post","type-post","status-publish","format-standard","hentry","category-tech","category-writing","tag-apps","tag-markup-languages","tag-productivity","tag-tools","tag-website"],"_links":{"self":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/1228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1228"}],"version-history":[{"count":6,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/1228\/revisions"}],"predecessor-version":[{"id":1446,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/1228\/revisions\/1446"}],"wp:attachment":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}