PMT's Markdown previewer can occur in many different places on the same page, so I'm initializing each one separately. See project_action_item_modals.js, and the parts of item_detail.html that include item_detail_textarea_preview.html.
This Markdown previewer could still be more self-contained,
and it's easy to wish the implementation was simpler. In
could make a Markdown previewer using an
If you look through the
Ember Blog, they seem to be
heading in the direction of using Components more and more, in
places where you might have found an
Ember.View or an
Ember.Controller in older Ember code.