What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

This is the text of the message:

This X is an [example link](http://example.com/)

<ul>
<li>
This Y is an [example link](http://example.com/)
</li>
</ul>

And this is how it looks:

This X is an example link

  • This Y is an [example link](http://example.com/)

Update (this way it seems to work)

- This X is an [example link](http://example.com/)

But why not in unnumbered list?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

From the editor help section on raw HTML (emphasis mine):

post editor html help

Block-level HTML elements have a few restrictions:

  1. They must be separated from surrounding text by blank lines.
  2. The begin and end tags of the outermost block element must not be indented.
  3. Markdown can't be used within HTML blocks.

So, you either need to construct the <a> HTML yourself, or, more simply, use the Markdown syntax for unordered lists:

This X is an [example link](http://example.com/)

  - This Y is an [example link](http://example.com/)

...produces...

This X is an example link

share|improve this answer
    
Markdown: Basics: daringfireball.net/projects/markdown/basics. I thought that links are also part of markdown –  skwllsp Nov 18 '12 at 15:31
1  
They are, but you tried to combine raw block-level HTML with Markdown, which you can't do. –  Tim Stone Nov 18 '12 at 15:32

Markdown can't be used within HTML blocks. Simply use Markdown to do the job.

This X is an example link

That is:

This X is an [example link](http://example.com/)

- This Y is an [example link](http://example.com/)
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .