Search code examples
javascriptwysiwyg

html javascript editor


I would like to get the same type of functionality as the SO editor (including the preview) for my own site. Is it a separate project that has been incorporated into SO that I can use too? Or is it designed by SO, and if so can I get it and use it?


Solution

  • The editor used by SO is WMD Markdown editor.

    Checkout this post for more info:

    The code syntax highlighter used is:

    To get the similar preview effect, check out this post: