I was looking through the spec to try to make sure that link text is allowed to have a line break. I think this is the case, but I couldn't pinpoint where in the spec it's stated. It'd be nice to include test cases showing that link text may contain a single line ending.
This is obviously OK:
[foo1 bar](https://example.org)
This one should be OK:
[foo2
bar](https://example.org)
This one is not OK:
[foo3
bar](https://example.org)
(VS Codium with rust-analyzer doesn't highlight such links in Rust doc comments, and I'm trying to track down where this goes wrong.)
I was looking through the spec to try to make sure that link text is allowed to have a line break. I think this is the case, but I couldn't pinpoint where in the spec it's stated. It'd be nice to include test cases showing that link text may contain a single line ending.
(VS Codium with rust-analyzer doesn't highlight such links in Rust doc comments, and I'm trying to track down where this goes wrong.)