Thanks. I'm on travel but will try to look at this Monday.

On Friday, December 6, 2013, Damián Avila wrote:

> In IPython/nbconvert/filters/markdown.py:
>
> >      """Convert a markdown string to HTML via pandoc"""
> > +    command = ['marked', '--gfm', '--tables']
> > +    try:
> > +        p = subprocess.Popen(command,
> > +                             stdin=subprocess.PIPE, stdout=subprocess.PIPE
> > +        )
> > +    except OSError as e:
> > +        raise MarkedMissing(
> > +            "The command '%s' returned an error: %s.\n" %(" ".join(command), e) +
> > +            "Please check that marked is installed:\n" +
> > +            "npm install -g marked"
> > +        )
> > +    out, _ = p.communicate(cast_bytes(source, encoding))
> > +    out = TextIOWrapper(BytesIO(out), encoding, 'replace').read()
> > +    return out.rstrip('\n')
> > +
> >      return pandoc(source, 'markdown', 'html', extra_args=['--mathjax'])
>
> two returns? I suppose you forgot to delete this line [image: :wink:]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ipython/ipython/pull/4655/files#r8178782>
> .
>