Support references that span lines

Markdown-js doesn't handle references that span multiple lines. For example:

```text
I am a [link
that] spans lines.

[link that]: /some-link
```

Most of the code to support this is already in place. It was just an issue of normalizing the reference matcher to ignore new lines.