Possible Duplicate:
Where's the WMD editor open source project?
I'd like to know if the version of Markdown that SO uses, with the same header with blank background and the same help button in the top right corner, is available for download.
Possible Duplicate:
Where's the WMD editor open source project?
I'd like to know if the version of Markdown that SO uses, with the same header with blank background and the same help button in the top right corner, is available for download.
Try wmd-new at Google Code or the Stack Overflow fork of WMD at GitHub.
Here's a quick demo of wmd-new (pulled from GitHub), with the styles slightly modified to look closer to those on SO. There are still a few differences (hover color on buttons, help question mark, etc), but it's really just a matter of tweaking the styles; the styles on Stack Overflow are built into their main stylesheet, and haven't all been applied to wmd-new.
In order to change the look of the buttons, or their hover states, you'll need to edit the image sprite that contains them all. That can be found in images/wmd-buttons.png
, with the source Photoshop document in images/wmd-buttons.psd
.
You shouldn't have to edit any JavaScript to get it to look like Stack Overflow, I don't believe, unless you want to get the textarea resizer, which you can find as a jQuery plugin.
wmd.css
; there are various background-color
properties you can change. I've posted an example of modifying some of the backgrounds in my question. The help button is part of the image sprite you can find in images/wmd-buttons.png
, with the source Photoshop image in images/wmd-buttons.psd
. You will have to modify that if you want to change the button images, and re-export the .png
(or just modify the .png
directly, but that's less ideal).
Commented
Jan 9, 2010 at 0:26
The StackOverflow branch of the WMD editor is hosted on github.
More info:
wmd-
prefix...
Commented
Jan 9, 2010 at 0:16
Stackoverflow branches of WMD are maintained on GitHub here and here. If you have trouble making a specific customization, start a new question describing what you've attempted and what isn't working and you'll get plenty of help.