Docs
Multiline link in markdown
You can have markdown links where the content is spanning multiple lines.
<!-- ✅ Valid -->
[Line 1
Line 2](/page.html)
<!-- ❌ Not valid anymore -->
[Line 1
Line 2](/page.html)
But if there is a blank line between the content, it is not recognized as a link anymore.
If we place a backlash character (\) — which is not rendered — the content is connected again.
<!-- ✅ Valid -->
[Line 1
\
Line 2](/page.html)
A more complex example would be this:
<!-- ✅ Valid -->
[**Title**
\
_Subtitle_
\
Lorem Ipsum is a dummy text
of the printing and
typesetting industry.](/page.html)