<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Markdown &amp;mdash; Attach to Process</title>
    <link>https://devblog.dinobansigan.com/tag:Markdown</link>
    <description>Thoughts and Notes on Software Development</description>
    <pubDate>Wed, 29 Apr 2026 17:05:16 +0000</pubDate>
    <image>
      <url>https://i.snap.as/4wmUdb6N.png</url>
      <title>Markdown &amp;mdash; Attach to Process</title>
      <link>https://devblog.dinobansigan.com/tag:Markdown</link>
    </image>
    <item>
      <title>How to Make Image Clickable Using Markdown?</title>
      <link>https://devblog.dinobansigan.com/how-to-make-image-clickable-using-markdown?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[For awhile now, I was wondering if it was possible to use Markdown, to make an image clickable. By that I mean, display an image in a blog post, and allow the reader to click that image to view the image in a tab. You can see an example at the end of this post.&#xA;&#xA;So anyway, I know what the Markdown syntax is for a link and for an image, but I&#39;ve never been able to put the two together until today. &#xA;&#xA;Thanks to this post for the idea on how to do it. This saved me from having to write JavaScript that would find all the Snap.as images in a blog post, then wrap them in an a/a tag just to make the images clickable and open in a browser tab.&#xA;&#xA;So just to recap, the Markdown syntax for a link is this:&#xA;Link text&#xA;&#xA;And the Markdown syntax for an image is this:&#xA;Alt Text for image&#xA;&#xA;So, given the Markdown listed below for an image, how do you display the image and make it clickable at the same time?&#xA;Mazda FC RX-7 - A little drifting action&#xA;!--more--&#xA;The answer is that you put the Markdown for the image inside the Markdown for a link, like so:&#xA;Mazda FC RX-7 - A little drifting action&#xA;&#xA;A couple of things to note here:&#xA;&#xA;The whole Markdown for the image goes inside the brackets [], the &#34;Link text&#34; portion of the Markdown for a link. This is what allows the image to show up as the content of a link.&#xA;The URL to the image goes inside the parenthesis (), the &#34;Link URL&#34; portion of the Markdown for a link. It kinda looks redundant, having the same URL to the image one after another. But that&#39;s how you make it work with the Markdown syntax for an image and a link.&#xA;&#xA;And finally, here it is in action:&#xA;Mazda FC RX-7 - A little drifting action&#xA;&#xA;Tags: #HowTo #Markdown&#xA;&#xA;a href=&#34;https://remark.as/p/devblog.dinobansigan.com/how-to-make-image-clickable-using-markdown&#34;Discuss.../a or leave a comment below.]]&gt;</description>
      <content:encoded><![CDATA[<p>For awhile now, I was wondering if it was possible to use Markdown, to make an image clickable. By that I mean, display an image in a blog post, and allow the reader to click that image to view the image in a tab. <em>You can see an example at the end of this post.</em></p>

<p>So anyway, I know what the Markdown syntax is for a link and for an image, but I&#39;ve never been able to put the two together until today.</p>

<p><em>Thanks to <a href="https://firepress.org/en/how-to-make-an-image-clickable-with-markdown/">this post</a> for the idea on how to do it. This saved me from having to write JavaScript that would find all the Snap.as images in a blog post, then wrap them in an <code>&lt;a&gt;&lt;/a&gt;</code> tag just to make the images clickable and open in a browser tab.</em></p>

<p>So just to recap, the Markdown syntax for a link is this:
<code>[Link text](Link URL)</code></p>

<p>And the Markdown syntax for an image is this:
<code>![Alt Text for image](Image URL)</code></p>

<p>So, given the Markdown listed below for an image, how do you display the image and make it clickable at the same time?
<code>![Mazda FC RX-7 - A little drifting action](https://i.snap.as/2IxnDguK.png)</code>

The answer is that you put the Markdown for the image inside the Markdown for a link, like so:
<code>[![Mazda FC RX-7 - A little drifting action](https://i.snap.as/2IxnDguK.png)](https://i.snap.as/2IxnDguK.png)</code></p>

<p>A couple of things to note here:</p>
<ul><li>The whole Markdown for the image goes inside the brackets <code>[]</code>, the “Link text” portion of the Markdown for a link. This is what allows the image to show up as the content of a link.</li>
<li>The URL to the image goes inside the parenthesis <code>()</code>, the “Link URL” portion of the Markdown for a link. It kinda looks redundant, having the same URL to the image one after another. But that&#39;s how you make it work with the Markdown syntax for an image and a link.</li></ul>

<p>And finally, here it is in action:
<a href="https://i.snap.as/2IxnDguK.png"><img src="https://i.snap.as/2IxnDguK.png" alt="Mazda FC RX-7 - A little drifting action"/></a></p>

<p><em>Tags: <a href="https://devblog.dinobansigan.com/tag:HowTo" class="hashtag"><span>#</span><span class="p-category">HowTo</span></a> <a href="https://devblog.dinobansigan.com/tag:Markdown" class="hashtag"><span>#</span><span class="p-category">Markdown</span></a></em></p>

<p><strong><a href="https://remark.as/p/devblog.dinobansigan.com/how-to-make-image-clickable-using-markdown">Discuss...</a></strong> or leave a comment below.</p>
]]></content:encoded>
      <guid>https://devblog.dinobansigan.com/how-to-make-image-clickable-using-markdown</guid>
      <pubDate>Wed, 27 Jul 2022 04:39:02 +0000</pubDate>
    </item>
  </channel>
</rss>