Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Note that this is not complaining about the fact that 8 spaces are needed for code in lists. It is complaining that the editor doesn't seem to respect this.

As Markdown specifies, 8 spaces are needed in code within a list, as shown at the example at the bottom of this post.

However, when I try to change it to code using Ctrl+K, it tries to add the four spaces if they aren't there, but when there are four spaces within the list, which is not code as per the definition, and I request it adds code, it seems to make things worse by removing the spaces and potentially throwing off the list even more. Can we have the markdown editor be intelligent so when a user requests code be added, it doesn't cut the four spaces thinking code(which isn't around in the first place) is to be removed?

This is an example of what it needs to make:

1. Random List

        random code

2. Entry 2


  1. Random List

    random code
  2. Entry 2

but instead if makes it 0 spaces before the code.

share|improve this question
Yes, this is known. – Oded Oct 26 '12 at 19:55
I believe this was even brought up somewhere these last few days. – Bart Oct 26 '12 at 19:56
Dupe link? I didn't see it. – hexafraction Oct 26 '12 at 19:57
@Bart Can the master post be made to clearly show this feature request? – hexafraction Oct 26 '12 at 19:59

You must log in to answer this question.

Browse other questions tagged .