As of May 31, 2023, we have updated our Code of Conduct.
135 votes

Underline in [`code`](links)

It's not just a matter of being hard to read; this is actually hiding information, in a way that's going to confuse novices. You could argue that nobody's going to be stupid enough to think that C++ ...
abarnert's user avatar
  • 351k
96 votes

Testing GitHub Oneboxes for Stack Overflow for Teams

status-good-point I'll address the guidance with the community team This is amazing, for teams! Actually, it's probably good for Stack Overflow but conflicts with guidance we provide the community. ...
Andy's user avatar
  • 48.7k
62 votes

Underline in [`code`](links)

It's just a matter of taste, but the underlined links look horrible. It is horribly distracting to glance at a paragraph and automatically have your eyes drawn to the colored and underlined text. That ...
David C. Rankin's user avatar
56 votes
Accepted

Should I fix the formatting if it changes the meaning?

Stack Overflow has always done this (C# type specifiers in < > being interpreted as HTML tags outside of a code block), and I've always fixed them without hesitation. It's not about "don't ...
Caius Jard's user avatar
55 votes

Please block posts containing unsupported HTML

There are basically three ways to perform rich text markup of posts on the web: HTML, BBCode and Markdown, with or without a WYSI(NQ)WYG GUI. For developers, who work with text all day, using either ...
CodeCaster's user avatar
  • 147k
54 votes
Accepted

Why does this markdown not render as a list?

Add an extra blank line before your list. You have your list and the previous line like this: Worth noting: - My Workspace folder is `C:\Users\Jon\Aukitekt` - My project folder is `C:\Users\Jon\...
Kendra's user avatar
  • 769
52 votes

Testing GitHub Oneboxes for Stack Overflow for Teams

status-completed Markdown status-researching Truncation 1. Markdown What's the likelihood of supporting (at least to some extent) markup in the snippets? Compare the readability of these two: I ...
Rob's user avatar
  • 27.3k
48 votes
Accepted

Why do backticks not work inside HTML lists?

This is correct Markdown behavior. As the syntax rules state: Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style *emphasis* ...
Waylan's user avatar
  • 36.1k
47 votes

Strikethrough Markdown Not Working

I've used strikethrough often and quite successfully. I think you might not be using the correct syntax. I use <s>text</s>. If you can't see the struck out text above, then it might be a ...
worldofjr's user avatar
  • 3,828
45 votes

Should I fix the formatting if it changes the meaning?

Escape the first < Stream\<Integer> Or use backticks `Stream<Integer>` You're not changing the meaning because It's already there, but seen incorrectly as HTML It's in the code block ...
Machavity's user avatar
  • 30.7k
41 votes

Testing GitHub Oneboxes for Stack Overflow for Teams

status-looking-at-this Line Range When posting a specific line range (as the one below), which I think is very useful, it would be nice to have something saying that this is a specific range (e.g., ...
Berriel's user avatar
  • 12.4k
26 votes

Testing GitHub Oneboxes for Stack Overflow for Teams

status-completed I can see how this is useful in SO for Teams. And I can see how these "one-boxes" (I'm a known fan of these, specially in chat) might evolve to other 3rd party services that offer ...
rene's user avatar
  • 41.2k
24 votes
Accepted

Link with round brackets looks good in preview, but broken after submitting

You're missing a closing bracket: [Wolfram Alpha](https://www.wolframalpha.com/input/?i=nextprime((10%5E32)%5E2)) results in: Wolfram Alpha. Note the extra closing bracket at the end: [...](...((10%...
Nick stands with Ukraine's user avatar
22 votes

Why do backticks not work inside HTML lists?

Your should use Markdown for lists and as much other layout you can. That works: yes! Which is: 1. `yes`!
Patrick Hofman's user avatar
21 votes

Don't wrap code at hyphen

I'd agree that wrapping at dashes probably doesn't make sense in code, but wrapping in general is desirable, for example: If you want to store a constant (such as π) in Java, you should declare it ...
Dave's user avatar
  • 43.7k
21 votes

Code wrapped inside sub/superscripts is too big

The cause of the problem appears to be this rule in the SO style sheet: .post-text code, .wmd-preview code { font-size: 13px; } Replacing it with: .post-text code, .wmd-preview code { font-...
Ilmari Karonen's user avatar
21 votes
Accepted

Code block rendered incorrectly at question but correct in edit window

The question was last edited before backtick formatting was introduced (asked on Oct 17 '16) and the layout has been cached. The rendered output only gets updated when some modifications happen to the ...
BDL's user avatar
  • 20.9k
20 votes

Why do backticks not work inside HTML lists?

As an alternative to switching to Markdown, you can use the <code></code> tag. This works inside of an HTML list: this is code In other words, you can opt to use markdown or HTML, but ...
Peter Olson's user avatar
20 votes
Accepted

Can we close Markdown rendering bugs against a related but maybe not fitting duplicate

Close as a duplicate if you reasonably believe it's the same bug In general, we should close bug reports as duplicates, if and only if we reasonably believe they are caused by the same bug, not the ...
Makyen's user avatar
  • 31.6k
19 votes

Markdown for checkboxes

GitHub has extended the original Markdown specification; they added checkboxes, tables, code block fences (``` markers) and a few other features. Those are not part of the base specification, and thus ...
Martijn Pieters's user avatar
  • 1.0m
19 votes

'#' character rendering in output instead of making a heading

SO's help page is weird on this topic. Both the original Daring Fireball's and GitHub's Markdown pages give priority to the form without the trailing #s. (See below.) I'd highly recommend just ...
jpmc26's user avatar
  • 28.2k
17 votes
Accepted

How do you show words surrounded by angle-brackets (< >)?

Either use HTML entities such as &lt; and &gt;, or use backticks (`) to mark up the section as code. Demo: Using HTML escapes, &lt;Bad Ptr&gt; is rendered as: <Bad Ptr> ...
Martijn Pieters's user avatar
  • 1.0m
15 votes
Accepted

Code wrapped inside headers is too small

Even thought there haven't been answers, it looks like the issue has been solved. As of now, writing the following Markdown code: Just a regular header, with some `code` in it ==== Just a regular ...
Marco Bonelli's user avatar
14 votes

Square brackets before a link cause incorrect link parsing

Markdown need escaping: [] [text][1] [] [text]1 The right way to do this: \[\] [text][1] [] text It's true even for tags (well I'm surprised too) \[tag:javascript\] [text][1] ...
iBug's user avatar
  • 35.1k
13 votes

Do not remove trailing spaces in inline code

This behavior is required by the original Markdown rules: The backtick delimiters surrounding a code span may include spaces — one after the opening, one before the closing. This allows you to ...
Waylan's user avatar
  • 36.1k
13 votes
Accepted

Why does code formatting not work in this question?

The code was pasted with U+2028 LINE SEPARATOR characters: public View getView(final int position, View view, ViewGroup parent) {\u2028 final ViewHolder holder;\u2028\u2028\u2028 if (view ...
Martijn Pieters's user avatar
  • 1.0m
13 votes
Accepted

Putting numbers of Quoted text overflows

This is by design. In markdown, a number followed by a period and a space creates an ordered list in html. Aka: <ol start="32908529"> <li>23492492</li> </ol> To prevent ...
rene's user avatar
  • 41.2k
13 votes

No limits on quote nesting

This is somewhat of an edge-case, this doesn't occur often enough for it to really need a solution. There isn't a scenario where a question should have deeply nested quotes so any time that occurs, it ...
Kevin B's user avatar
  • 94.7k
12 votes
Accepted

Can't end a code span with backslash in comments

I tried to escape the backslash, but that didn't work either and it still treated the ` as a literal. You need to double the backticks: Mary had a ``little\`` lamb. It's fleece was ``white\\`` as ...
DavidPostill's user avatar
  • 7,664
12 votes

Why is this code block not rendered?

This is not a bug with the preview, it's a bug with your formatting. A code block must be separated with blank lines before and after it. Your code block is properly indented, but there is no blank ...
Cody Gray's user avatar
  • 238k

Only top scored, non community-wiki answers of a minimum length are eligible