Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

How can I insert a linked image in a <pre/> tag? I've tried:

<pre>
![my picture][1]
</pre>
[1]: http://lh6.ggpht.com/pic.jpg

But this isn't working.

P.S. Please don't downvote the crap out of this question if it has been asked/answered before. I searched, couldn't find the answer, but if you know of the answer on another question, please just kindly point me that way. 谢谢!

share|improve this question
up vote 3 down vote accepted

The correct way would be to use the <img> HTML tag, because block elements like <pre> are supposed to block Markdown, according to the spec.


<pre>
<img src="http://imgur.com/3XBHj.png" />
</pre>
share|improve this answer
    
Perfect, just what i needed! – Otaku Jul 14 '10 at 21:22
2  
Oh, I have to wait 6 minutes before accepting :( So that means you have to wait 6 minutes too :) – Otaku Jul 14 '10 at 21:23
1  
I just noticed that your smilies form an open and closing set of parentheses, @Otaku – Grace Note Jul 14 '10 at 21:47

You must log in to answer this question.