r/features • • Feb 19 '06

Add a "preview" button for comments

http://features.reddit.com/info?id=22c6
32 Upvotes

5 comments sorted by

3

u/danweber May 05 '06

I wouldn't want it to work the way that existing "preview" things work, where it goes to the reddit server and then shows me what it is.

Make it so that I can just press "preview" and the my edit box changes into a read-only window showing my text in a formatted mode, via AJAX. The "preview" button has changed into "change", and pressing that toggles me back into the plaintext edit box.

1

u/self May 10 '06

This implementation of markdown in JavaScript is incomplete, but it's a start.