All Questions
33 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 ...
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?
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 ...
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 ...
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:
...
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
...
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 ...
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.
2
votes
1
answer
142
views
markdown can't handle tags with asterisks
On the main site, you can (for example) ignore tags using this notation [tag:foo*], which will ignore stuff tagged as foo but also foo-bar.
The nice markdown highlighter for tags seems to have a ...
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 ...
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 ...
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
...
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 ...
1
vote
1
answer
1k
views
Spoiler Markdown shows up as normal blockquote
In the question What was Dooku's plan for the Battle of Coruscant?, I used the >! syntax to create a spoiler section, but it shows up as a normal blockquote with a ! at its start.
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 ...
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 ...
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 => $...
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 ...
0
votes
1
answer
2k
views
Markdown support for URLs without a protocol
If this does not classify as a bug (probably status-bydesign anyway), then I would like to present this as a feature-request for convenience when copy-pasting certain URLs.
The [Title](URL) markdown ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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
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'...
2
votes
1
answer
259
views
HTML comments break formatting from that point
I was writing up a signpost support question on our site meta. That post included a link which would need to be updated to another such question once asked. I therefore wanted to include an HTML ...
2
votes
3
answers
142
views
URL not rendering on StackOverflow
I've been having trouble with this lately. Can someone tell me what's wrong with my URL syntax in my answer to this question:
Programming Technique: How to create a simple card game
I've tried:
[...
1
vote
1
answer
113
views
Fenced code markdowns in posts before 2019 doesn't render correctly
This answer on Ask Ubuntu was posted in October 2016. The last revision was made then only and there answerer used fenced code markdown (```) which at that moment wasn't introduced on Stack Exchange. ...
0
votes
1
answer
495
views
URL from code.google.com is not markdown-parsable [duplicate]
Possible Duplicate:
Markdown rendering URLs with spaces
The following URL from Google Code does not seems to be parsable using the markdown Ajax widget used by Stack Overflow.
http://www....
0
votes
1
answer
118
views
Character formatting leaks into tag links
asdf
asdf asdf asdf
asdf asdf asdf
asdf asdf asdf
You can also do asdf, but that's probably okay to leave alone. It's mainly just the character styles (bold, italic, etc.) that I think could use ...
-4
votes
1
answer
310
views
GitHub-style code blocks not recognized when updating code per jsFiddle warning
I edited a question on Stack Overflow adding a jsFiddle link to a sample fragment. Stack Overflow said:
Links to jsfiddle.net must be accompanied by code
So I added:
```
... my code ...