Fix plotly markdown extension

For some reason the match object passed to handleMatch is not quite the
match object you would get if you had just done a search using the
defined regex. I guess there's an extra captured group? This seems to
fix it.