{"id":7792,"date":"2015-12-31T17:12:32","date_gmt":"2016-01-01T01:12:32","guid":{"rendered":"http:\/\/www.podfeet.com\/blog\/?p=7792"},"modified":"2015-12-31T17:12:32","modified_gmt":"2016-01-01T01:12:32","slug":"ccatp-419","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2015\/12\/ccatp-419\/","title":{"rendered":"CCATP #419 Bart Busschots Pretty Markdown &#038; HTML Links with TextExpander &#038; Perl"},"content":{"rendered":"<p>Bart likes to give credit to the sites he references in his shownotes but the links get fairly clutterly. He wrote a very short (17 line) perl script and put it inside TextExpander to make pretty links instead. He wrote this for Markdown but since I like html better he created a version for html as well.  He walks us through his detailed tutorial here:  <a href=\"https:\/\/www.bartbusschots.ie\/s\/2015\/12\/30\/pretty-markdown-html-links-with-text-expander-perl\/\" target=\"_blank\">www.bartbusschots.ie\/&#8230;<\/a>.  Then he tries to convince me that Markdown is awesome and html is dreadful.  Listen along to see if he succeeds.<\/p>\n<p>I mentioned an video tutorial series created by Richard Baker on TextExpander. Here&#8217;s a link to the one he did on embedding scripts into TextExpander:  <a href=\"https:\/\/www.youtube.com\/watch?v=bbmly-EBUYw&#038;index=12&#038;list=PL_QDAYColR6NPvUzq3fCatN6wnw6KlAof\" target=\"_blank\">www.youtube.com\/&#8230;<\/a><\/p>\n<p><audio class=\"wp-audio-shortcode\" id=\"audio-7792-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"http:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2015_12_31.mp3?_=1\" \/><a href=\"http:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2015_12_31.mp3\">http:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2015_12_31.mp3<\/a><\/audio><br \/>\n<a href=\"https:\/\/itunes.apple.com\/us\/podcast\/chit-chat-across-the-pond\/id1052401094?mt=2\"><img loading=\"lazy\" decoding=\"async\" style=\"float: none;\" src=\"https:\/\/podfeet.com\/NosillaCast\/artwork\/itunes_subscribe_button.png\" alt=\"itunes\" width=\"125\" height=\"43\" \/><\/a><br \/>\n<a title=\"mp3 download\" href=\"http:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2015_12_31.mp3\" target=\"_blank\">mp3 download<\/a><\/p>\n<p><!--more--><\/p>\n<h4 id=\"toc_0\">What&#39;s the Point of Markdown?<\/h4>\n<p>Markdown is a text markup language invented by John Gruber, who wrote it for the best geek reason of all &#8211; to scratch his own itch. He found HTML markup too distracting while composing blog posts and articles, so he wanted a format he could use to markup his text that was non-intrusive, but could be automatically converted to HTML for publishing.<\/p>\n<p>Markdown is designed to look like plain text, and that&#39;s what makes it so cool. If you sent someone a markdown document as a .txt file, they could read it perfectly, and would probably never even guess that it was a marked up document. They would intuitively see lines starting with stars as bullet points, short strings starting with hash symbols as headers, and words surrounded by stars as emphasised in some way.<\/p>\n<p>I compose a lot of my blog posts and show notes for various podcasts in Markdown. My readers and listeners have no idea that I do that, because the format you write in does not have to be the format you publish in. All my posts and notes end up published in HTML, but many of them get written in Markdown.<\/p>\n<h4 id=\"toc_1\">Key Points:<\/h4>\n<ul>\n<li>Markdown is much less distracting than HTML, so it stays out of your way better while writing<\/li>\n<li>Markdown can be read by anyone &#8211; no prior knowledge required!<\/li>\n<li>Markdown can be automatically converted to HTML, so no effort involved in getting from Markdown to the final output format I need<\/li>\n<li>Markdown files cannot become obsolete. Unlike old Windows Write of Claris Works files, markdown files will always be readable &#8211; they are just text!<\/li>\n<\/ul>\n<h4>Allison&#8217;s Rebuttal<\/h4>\n<ul>\n<li>Markdown doesn&#8217;t support &#8220;target=_blank&#8221; that we just learned about which keeps the viewer on the same page and opens link in a new tab\/page<\/li>\n<li>Markdown is harder for me to remember<\/li>\n<ul>\n<li>The asterisk means bold but also bullets and if you use two of them it&#8217;s italics<\/li>\n<li>I can&#8217;t ever remember whether the alt tag goes first or second on an image<\/li>\n<li>I can&#8217;t remember if the square brackets go first or the round ones<\/li>\n<li>I can&#8217;t remember if the bang goes before images or links<\/li>\n<\/ul>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Bart likes to give credit to the sites he references in his shownotes but the links get fairly clutterly. He wrote a very short (17 line) perl script and put it inside TextExpander to make pretty links instead. He wrote this for Markdown but since I like html better he created a version for html [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[147,172],"tags":[257,185,256,255,254,258],"class_list":["post-7792","post","type-post","status-publish","format-standard","hentry","category-blog-posts","category-ccatp","tag-debate","tag-html","tag-markdown","tag-perl","tag-scripting","tag-textexpander"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/7792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=7792"}],"version-history":[{"count":2,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/7792\/revisions"}],"predecessor-version":[{"id":7794,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/7792\/revisions\/7794"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=7792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=7792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=7792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}