Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 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

On Stack Overflow, how is the "enter the code" button implemented?

share|improve this question

migrated from stackoverflow.com Nov 17 '10 at 10:00

This question came from our site for professional and enthusiast programmers.

    
Where is the enter the code button? You mean the button with the zeros and ones? – Felix Nov 16 '10 at 15:19
    
yeah . the buttons with 0 and 1 – mekasperasky Nov 16 '10 at 15:20

See the function command.doCode in wmd.js (in the current version, it starts at line 2106). It should be pretty much self-explaining.

share|improve this answer

You must log in to answer this question.