I wonder how small you could make a JS parser for Markdown...


On Mon, Jul 8, 2013 at 8:25 PM, Christopher Van <notifications@github.com>wrote:

> In hearth/templates/comm/note_detail.html:
>
> > @@ -0,0 +1,10 @@
> > +<div class="note-detail">
> > +  <div class="c">
> > +    <img class="author-gravatar" src="{{ gravatar(note.author_meta.gravatar_hash) }}">
> > +    <span class="author-name">{{ note.author_meta.name }}</span>
> > +    <span class="info">{{ _('On') }} <time class="date-posted">{{ note.created|datetime }}</time></span>
> > +    {% set action = note_action(note.note_type) %}
> > +    <div class="note-action {{action.class}}">{{ action.msg }}</div>
> > +  </div>
> > +  <div class="note-body">{{ note.body }}</div>
>
> or linebreaks (nl2br) at the minimum. I know @mattbasta<https://github.com/mattbasta>wants to use Markdown.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/commbadge/pull/1/files#r5081711>
> .
>