jasonLaster / DGD

Dartmouth Group Directory
MIT License
6 stars 3 forks source link

Add previews #32

Closed jasonLaster closed 12 years ago

jasonLaster commented 12 years ago

This commit has three big components:

  1. new ace editor for descriptions
  2. live preview with showdown.js
  3. lessified application css (should be its own pull request, but whatever)

    Editor

there were two options that I saw for redoing the editor. One, create a spiffy editing environment with markdown on the left and a preview on the right. ala mathbins.com. The other option is a more modest version which keeps the same look and feel, and you can tab between the two views. i think the latter is a little less intimidating, and more consistent with with the current feel of DGD. It's also, less "hacker" feel.

Markdown

I think using markdown is a huge risk. We should assume that nobody will know markdown and that there will be a learning curve. There are two huge wins for markdown. 1) the syntax is simple enough that we can parse it on the backend. 2) we can add macros that will be awesome. With that said, we've got to go the extra mile in letting people know what we're doing and why and I dont think we do that yet. I updated the sidebar, but it's still not in your face enough! I think we should really solve the nube markdown problem in this pull request and im not really sure how to do this.

Last words

This pull request will be awesome! Really excited for people to start using it!

jasonLaster commented 12 years ago

I just added a default description that I think will help encourage people to write a fuller page and become more familiar with markdown