Some pointers on formatting the editor text

Hi,

I have been playing around with a package for Atom (UI is not one of my strengths but I thought I would have a play).

I came up with https://atom.io/packages/flip. The idea is to promote comments in code to be much more readable by using markdown in the comments.

Whilst I like what I have done and I use it regularly. My original thoughts were to have the comments in the main view as either raw or rendered (switchable). Perhaps then when it is rendered an editor control also!

I would appreciate some pointers on how to do this. The project is in JS not coffee script so if anyone has examples in JS that would be great.

Thanks

Nick