If I ask/answer a question, sometimes I like to include numbered lists using the <ol>
and <ul>
HTML tags. There is a problem, however, if I want to format the text to make it bold or italic using the **bold**
and _italic_
markdown formatting, in that it doesn't display properly when inside HTML tags. This problem is easily solved, as there are bold and italic buttons above the question textarea. The problem becomes unsolvable, however, when I want to post links inside the tags. Neither the <a>
tag, the hyperlink button, nor the markdown link methods work, and get parsed as plain text. Has anyone else noticed this, is stackoverflow working on it, and is there a solution?
-
Easy solution: use Markdown instead of HTML for your lists.– animuson StaffModJun 14, 2013 at 19:10
-
@animuson can you use markdown for lists, or other common formatting? Can you link a definitive list?– imulsionJun 14, 2013 at 19:11
-
@imulsion Yes, you can– ServyJun 14, 2013 at 19:12
-
Here's a list of markdown formatting.– Old CheckmarkJun 14, 2013 at 19:36
1 Answer
- You can just include links in lists using entirely markup.
- Or you could just use html and no markup
- It's only if you try to [mix them](https://meta.stackexchange.com/questions/184476/) that it doesn't work.
for reference, the markup of this post is:
- You can just [include links](https://meta.stackexchange.com/questions/184476/formatting-markdown-not-being-parsed-when-in-html-tags) in lists using entirely markup.
<ul><li>Or you could <a href="https://meta.stackexchange.com/questions/184476/">just use html</a> and no markup</li>
<li>It's only if you try to [mix them](https://meta.stackexchange.com/questions/184476/) that it doesn't work.</li>
</ul>