All Questions
101 questions
168
votes
9
answers
11k
views
Code block is not properly formatted when placed immediately after a list item [duplicate]
Consider the following piece of Markdown code:
This is some regular text.
>>> def factorial(n):
... return 1 if n < 2 else n * factorial(n - 1)
...
* This is a list ...
80
votes
3
answers
2k
views
Markdown in chat fails for multi-line messages
We've come to rename Markdown to Letdown in the C++ chat room because it lets you down so often. I've now just found a pattern.
It seems markdown fails for multi-line messages. That is, this
Letdown ...
32
votes
4
answers
5k
views
Why should users have to press Return twice to insert new lines?
When I post a question and want to add a new line, I have to press Return two times, or else the next text will appear on the same line.
Is this really supposed to behave this way? If so, why?
23
votes
1
answer
311
views
Blockquote rewrap destroys code
I've seen too many newbies hit the "quote" button instead of the "code" button while posting. This is much worse than if they just left the code inline, because the quote button rewraps all the text ...
21
votes
3
answers
2k
views
New "[tag:" syntax interferes with Markdown links
Links in [link text][number] format don't work properly if they follow a tag using the new [tag:tagName] format. Here's the result of [tag:python] [gold badge page][1]:
python [gold badge page]1
...
21
votes
1
answer
521
views
Why does the following Markdown (blockquote, code block, #) render the way it does?
Why does the following Markdown:
> ```
# test
render as it does?
<h1>test</h1>
Yes, you see that right: the # is converted even though it's inside a code block. Furthermore, it's ...
20
votes
3
answers
3k
views
Comments don't have formatting tags or line breaks
I noticed that comments do not support formatting and line breaks like we have in posts.
The markdown help doesn't seem to apply to the comments, so I think it is a bug.
19
votes
1
answer
879
views
Links with URIs of schemes other than http/https are broken
It seems like the engine completely breaks all links that use a URI with a scheme other than 'http' or 'https'. Web != Internet, guys! ;)
For example, the market scheme links to the Android market:
...
17
votes
1
answer
754
views
My comment `code block` was not converted properly, is this a bug?
In my comment here:
https://stackoverflow.com/questions/409/what-is-your-favorite-coding-guidelines-checklist/138993#comment-8835926
I needed to have a : symbol with a leading space, but I couldn't ...
17
votes
1
answer
642
views
Spacing oddity between lists when lists are found consecutively
Markdown:
1. Item 1
1. Item 2
1. Item 3
1. Item 4
1. Item 5
Now outputted as:
Item 1
Item 2
Item 3
Item 4
Item 5
The visual gap after item 3 appears to be an error. If I stick anything non-list ...
13
votes
1
answer
126
views
Line after blockquote in spoiler not a spoiler?
When putting a blockquote in a spoiler, the line(s) after the blockquote are not hidden; this does not seem to be the behaviour I would expect? Hovering over the spoiler reveals the hidden text as ...
10
votes
2
answers
381
views
Quotes override list item numbers
Possible bug. Numbers after quote markdown get overridden
Example (edit to see the problem):
This is my first very important point
This is a very interesting point
This is my second ...
10
votes
2
answers
1k
views
Inconsistent/incorrect breaks/newlines in lists
When editing this answer, I noticed that placing breaks (blank lines) in lists (especially nested lists) is inconsistent (and possibly dependent on the current state of the JavaScript variables of the ...
9
votes
3
answers
41k
views
Problems creating a bullet and number list with markdown
I'm struggling to format a bullet list, a number list and then a bullet list.
This question isn't looking right:
Frequent error messages when connecting to Windows file shares from a Mac under a VPN ...
9
votes
2
answers
783
views
Adjacent lists in WMD swallowed into a single list
Obviously, there not being a way to specify the end of a list, and multiple line breaks making list item contents paragraphs, the only way to have adjacent lists is to alternate between ordered and ...
9
votes
0
answers
96
views
Minor preview bug - mixed case HtTp urls display in preview but disappear from 'live' post
Here is an example:
http://www.google.com -> http://www.google.com
Http://www.google.com->
If you edit this question you'll see that both urls display in the preview - but the second one mixed-...
8
votes
1
answer
617
views
Dollar Sign corrupts question [duplicate]
In https://robotics.stackexchange.com/questions my question (Which is easier/cheaper: Hbridge vs ESC for controlling a motor?) contains a "$" in a quoted section of the question. Originally I had a ...
8
votes
1
answer
4k
views
Problem with markdown and Unicode characters in comments [duplicate]
Unicode characters (as well as characters from the extended character-set) don’t work with the markdown in comments.
In a question or answer, when you use Unicode characters (or extended characters ...
7
votes
2
answers
1k
views
Markdown code snippets don't allow trailing spaces
I was answering a question on Stack Overflow and required to use a trailing space in one of my code snippets.
I formatted it like so:
`<a `
And it renders without the trailing space: <a
...
7
votes
1
answer
158
views
Link not working in profile description
I have experienced real strange behaviour in my profile description; links do not work/display at all. Assuming I used correct markdown - as I used both the markdown I usually use, and the official ...
6
votes
1
answer
148
views
Funny nesting of links and bold
See original post here: https://stackoverflow.com/questions/6925223/whats-the-easiest-way-to-get-a-random-number-from-0-to-9-in-c/6925263#6925263
If I nest the link brackets within the bold tag it ...
6
votes
2
answers
57
views
Paths with trailing slashes being rendered incorrectly in chat
Consider the following markdown:
`C:\`
In chat, this is rendered as follows:
Instead of the expected output:
C:\
Using two slashes doesn't help:
Although the slash appears, the text is not ...
6
votes
2
answers
152
views
Intra word markdown doesn't function properly when combining italic and bold
I mean, why can I write in thisway, (just bolding: **wo**rd, or just italicizing:*wo*rd), but I can't ***comb***ine bold and italic?
It works non-intra-word, but doesn't work ***intra-***word.
Is it ...
5
votes
2
answers
138
views
Spoiler text doesn't work with numbered lists - Intended behavior? Workaround?
The spoiler markdown is sometimes cough messed up. Today's edition: Spoiler doesn't work with numbered lists.
>! 1. Foo
2. Bar
3. Baz
renders like
! 1. Foo
2. Bar
3. Baz
I could ...
5
votes
1
answer
91
views
Link titles are sometimes displayed in the text when a long text is pasted in
I thought I'd be clever and embed a pithy saying in a link title, but the title was displayed in the text of the post rather than the alt text. After some experimentation, it seemed as if the problem ...
5
votes
1
answer
141
views
A specific markdown link doesn't render
In this answer, my link for ISS isn't getting rendered correctly.
What's wrong?
5
votes
1
answer
2k
views
Search queries in quotes that contain certain words are ignored in the results' excerpts
In the first result, "test this" appears later in the question, and is not displayed.
In the second result, "test this" appears in the excerpt, since it's already in the excerpt from the unquoted ...
4
votes
1
answer
266
views
Is this intended (* in chats)
It is stated in the stackoverflow FAQ: https://chat.stackoverflow.com/faq#formatting
*italic* or _italic_
**bold** or __bold__
so when I type three * followed by a word followed by another three * I ...
4
votes
1
answer
159
views
Why is this last line of C++ code not formatted as code? [duplicate]
In Mark Wilkins' answer to Counter not giving the expected result, he has some c++ code that looks like this:
if (i == var4)
{
cout << "\n Armstrong number " << counter <&...
4
votes
2
answers
148
views
Is this how Markdown should be rendering code inside a list?
I believe the following example needs no explanation.
What is going on here?
Why would you do this?
(function() {
// Do Stuff
})();
4
votes
2
answers
647
views
Adding hyperlink markdown after "[] " renders the link incorrectly
The hyperlink markdown seems to break when you have "[] " immediately before link text. I noticed having spaces between the bracket groups doesn't effect the outcome. Maybe it should?
Source: byte[] ...
4
votes
1
answer
41
views
Bug with tag markdown in migrated question from Meta.SO
This question, recently migrated from Meta.SO, has some joke tag markdown at the end to the non-existent tag catharsis.
The problem is, it still links to Stack Overflow (instead of on MSE, where it ...
4
votes
1
answer
75
views
Unable to rollback to previous revision
I edited my answer because the information was no longer accurate.
However, after editing I found that the formatting was broken, so I rolled it back to the previous version.
Unfortunately after the ...
4
votes
1
answer
303
views
Using bold or italics within a word in a comment does not work [duplicate]
I just tried to comment multiple times on "November 2011 Moderator Election: Town Hall Chat (scheduled)".
The intended comment was to be rendered as:
not "maderator nominations"
But instead, it ...
4
votes
1
answer
4k
views
Markdown not correctly generating links
Reading through this page, and one of the articles prev/next links weren't linking. Went to fix it, but finally decided it was correct (or at least consistent with other working posts), so I assume it ...
4
votes
2
answers
631
views
Heading and HR markdown conflict with each other
In the markdown editing reference page it states that horizontal rules could be made using the following:
Insert a horizontal rule <hr/> by
putting three or more hyphens,
asterisks, or ...
4
votes
0
answers
40
views
Markdown rendering issue [duplicate]
Windows is shutting down screen takes a long 20 minutes (revision 2) on SU renders the markdown incorrectly:
This might be a duplicate of The case of the bleeding monospace font!, but as I don't want ...
3
votes
2
answers
5k
views
<a> Links to URLS with square brackets in don't work
Creating an a href link to a URL which contains square brackets causes Stack Overflow to ignore the link. According to this post, there were similar problems in markdown, but I can't see this ...
3
votes
1
answer
200
views
Markdown isn't rendering the <sup> tag correctly
Recently I made an edit to this question in Literature SE. The added part is a link inside a tag:
<sup>
The mot was made by mathematician Poincaré in his essay [The future of mathematics](https:...
3
votes
1
answer
2k
views
Display error when nesting <pre/> in <code/> elements
I have found an issue in this question: How to get list of values in GROUP_BY clause?
Check this out. I enter the following piece of HTML:
<code><pre>hello</pre></code>
It ...
3
votes
1
answer
106
views
Community Promotion Ads - 2018 example markdown is wrong?
Looking at Community Promotion Ads - 2018 it states:
[![Tagline to show on mouseover][1]][2]
[1]: http://image-url
[2]: http://clickthrough-url
This is actually incorrect. The format should be:
[!...
3
votes
1
answer
156
views
List entry followed by code block messes up the code section [duplicate]
Here's two examples (note that in first example, backticks also had no effect, for some reason):
include/db.php:
$attribs =
array(
PDO::ATTR_PERSISTENT => $...
3
votes
1
answer
62
views
Unfiltered raw MarkDown shown in question summary
This question has a picture right at the start of it. This results in the raw Markdown being shown in the question summary (as illustrated). This Markdown needs to be filtered out.
Thinking that I ...
3
votes
2
answers
294
views
Post preview breaks URLs with square brackets
The markdown editor breaks URLs that have a [] in them in the post preview. For example:
Test link
the URL is:
http://www.example.com?array[]=item1
it works fine in the final result, though, so it'...
3
votes
1
answer
70
views
Emails from community at stackexchange use markdown
Markdown does not work in emails, so you should probably not use it in them. The email is still readable and the links work, they're just not at the place where you'd expect them to be.
3
votes
1
answer
92
views
Careers table support inconsistent between preview and actual rendering
I just edited my careers page, and I added a table in markdown. I know markdown is only partially supported and I kind of expected it not to work, but the preview rendered it exactly like I wanted, ...