Hot answers tagged

87 votes

How can I create a table in a post?

Tables have been added to Stack Exchange as of December 2020. This is what you want: |id|name |email| |--| --- | --- | |1 | Sta |[email protected]| |2 |Danny|[email protected]| |3 |Elle |[email protected]|...
69 votes
Accepted

What's the Markdown Editor that Stack Overflow is using?

It's called Pagedown, and you're totally free to use it :) It's a great editor for markdown with restricted HTML support. Google code is shutting down so the repo is read-only, however we have plans ...
Tim Post's user avatar
  • 33.4k
59 votes
Accepted

Pressing ENTER in title submits question/edit

This is standard behavior for HTML forms: If the user agent supports letting the user submit a form implicitly (for example, on some platforms hitting the "enter" key while a text field is focused ...
Shog9's user avatar
  • 157k
50 votes
Accepted

Strange Hidden Word In Question

Certain words like "hi", "dear" etc. are automatically removed if they appear at the start of a question. This was not part of the original features of Stack Overflow so there will be questions that ...
ChrisF's user avatar
  • 135k
49 votes

Why are the editor keyboard shortcuts not documented?

To attempt to "answer" the question: The most likely explanation is: they forgot And since that keyboard overlay it seems they implemented the overlay feature, but they haven't added the ...
Tschallacka's user avatar
  • 27.9k
35 votes

Indent 8 spaces when clicking the Code Sample button after a list item

Just a suggestion. I believe that this kind of feature request could be accepted much faster if accompanied by the pull request. Although Stack Overflow as a whole is not open source, some of ...
Your Common Sense's user avatar
35 votes

Can we allow for a named code blocks? which would allow for tabbing of multiple code blocks

This would likely create more problems than it solves (or it would get used too rarely to justify having it). Most posts only have single code blocks, or code blocks that are too short for this to be ...
Bernhard Barker's user avatar
32 votes
Accepted

Why is my preview empty?

I suspect a badly cached JavaScript file (based on the editor toolbar not showing up) - clearing the SO cache should fix the issue if that is it. To exclude anyone between yourself and our TLS ...
Oded's user avatar
  • 491k
31 votes

Add placeholder to answer box?

Post your answer here. Include enough information to make the answer self-contained. Answers are not for asking new questions, commenting or saying thanks (cast a vote instead).
BoltClock's user avatar
  • 702k
31 votes
Accepted

Can't add a tag to an existing question?

unity5 is a synonym of unity3d. This means by adding unity5 as a tag, you’re adding unity3d instead. Your question already has the unity3d tag, and it can’t be added again, so nothing happens. That’s ...
Erik A's user avatar
  • 31.7k
28 votes

Would it be feasible to add a regex snippet tool?

Very often answers linking to one of the popular online tools are the bad answers ignoring the specificity of the question. There are too many differences between flavors implementations (and bugs) ...
Denys Séguret's user avatar
26 votes

How to draw a simple tree in the Stack Overflow editor?

Edit: The faster way I found to draw graphs on linux is to use tree command: mkdir test && cd test mkdir -p 1/3/2 1/3/5/4 1/3/5/7/6 1/3/5/7/11 tree && cd .. && rm -rf test . └...
roipoussiere's user avatar
  • 5,222
25 votes

Are more people using the inline backtick option for code blocks and, if so, why and what do we do about it?

If you see it, just edit it. I don't think there's anything that has changed internally to cause this sort of behavior, but the easiest solution to this problem is just to edit it out if you see it.
Makoto's user avatar
  • 104k
24 votes
Accepted

Why isn't there spell checking on the edit summary input?

This is a Firefox setting that you need to enable. By default, Firefox only checks multi-line textboxes. You can adjust this by following these steps: In the URL bar, type about:config Search for ...
Andy's user avatar
  • 49.2k
22 votes
Accepted

Copy/paste from Microsoft Word triggers image upload

You can press Ctrl+Shift+V to paste as plain text. I believe Chrome and Firefox support this key combination.
Michael's user avatar
  • 34.9k
21 votes

Auto capitalization of the noun "I" on post submit

There's no simple regex that handles all cases. What if I want to describe the character "i" that's matched by the regex [d-k]? I want to be able to just write "i", without surrounding it with back-...
Maroun's user avatar
  • 94.3k
20 votes

Indent 8 spaces when clicking the Code Sample button after a list item

I support this feature request. A work-around for now is to: Select the unindented code block Click the code button to indent it to four spaces Manually unindent the first line Select the whole ...
20 votes
Accepted

Syntax highlight apparently broken in edit preview and suggested edits queue

We managed to tackle the issue and disable the temporary fix we put in some time ago. The problem boils down to conflicts between the diff highlighting and the syntax highlighting - because of those ...
marrados's user avatar
  • 101
19 votes

"Ask Question" Window rework

I think [the editor] has some problems that make it hard for new users to submit good and coherent questions. Oh, it was the editor all along! Wait, no, it wasn't, it's the users themselves. If you ...
CodeCaster's user avatar
  • 148k
18 votes
Accepted

Differences in edit mode preview and final result

That question was written in 2012, and hasn't been edited since. Intra-word emphasis has only been working since 2014. Because the Markdown is converted to its rendered version only once (and the ...
balpha's user avatar
  • 50.1k
18 votes

Should we make the {} button add ``` instead of four spaces?

I'm in favor of this change because: This allows better copy-paste (more compatible with other systems) This reduces the number of wasted space (Character length of the answer, also octet space, just ...
Stargateur's user avatar
  • 24.6k
18 votes

Copy/paste from Microsoft Word triggers image upload

The clipboard can store multiple representations/formats of the same object. Text is the lowest-common-denominator representation, but that's the only representation that your text editor supports, ...
Cody Gray - on strike's user avatar
17 votes
Accepted

Can we have an "automatic indentation" button for phones?

A better editor (with better support for editing code) would be really nice. Here's a Chrome extension that'll give you one... But... Please don't try posting large amounts of code from your phone. ...
Shog9's user avatar
  • 157k
17 votes

Can we allow for a named code blocks? which would allow for tabbing of multiple code blocks

While I think this could be a nifty idea, I worry about its intent; I could hardly call a code snippet "minimal" if we had the ability to jump between tens or hundreds of named code blocks.
Makoto's user avatar
  • 104k
16 votes

Why is the text editor of Stack Overflow so bad?

I just wrote a Chrome Extension that replaces the default text editor with a better one (SimpleMDE): Better Stack Exchange - Google Chrome Extension It has full support for SHIFT+Tab quick ...
Titus's user avatar
  • 4,497
16 votes

How to draw a simple tree in the Stack Overflow editor?

TeX is not supported on Stack Overflow (though it is on several other Stack Exchange sites with MathJax). Instead of using the syntax you have, you can use the html <pre> element - white space ...
Oded's user avatar
  • 491k
16 votes

Are more people using the inline backtick option for code blocks and, if so, why and what do we do about it?

I always think the help icon is too much hidden: We should make it more visible to new users. Maybe some flashing blue point like we had in documentation. This could be there on the first 3 posts. ...
Christian Gollhardt's user avatar
15 votes

Suggest https instead of http for links, when authoring a question

I copy and paste my links from another tab in their entirety, so you could put a bunch of gibberish there by default and it wouldn't affect me. I suspect it is not that big of a deal to most other ...
SandPiper's user avatar
  • 2,816
15 votes
Accepted

Why is it so hard to add code?

You should be able to select all the code you have in your question and use Ctrl+K to format it all as code simultaneously.
Harry's user avatar
  • 61
15 votes

Stack Overflow won't work on Chrome 77 for Mac because of text substitution support

You can turn this feature off by unchecking edit->Substitutions->Smart Quotes etc... This appears to be the same as Safari except, at least for me, Safari defaults to having these features off As ...
gman's user avatar
  • 101k

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