prettier/tests/markdown_linkReference
Jed Fox dc68a3d9a6
Break link definitions onto multiple lines when needed (#3531)
* Break link definitions onto multiple lines when needed

* Simplify the conditional for breaking the title

* Don’t print the title if it’s blank

* Revert "Don’t print the title if it’s blank"

This reverts commit 2a8d0dd9995a2e5ab8e6d888c07b88dda058637f.

* Add another test

* Fix title printing

* Second time’s the charm

* Third time’s the charm?

* Fix snapshot

* Prettify

* Don’t break unless `proseWrap` is `always`

* Test `proseWrap: never` on link references
2018-05-14 06:17:37 -04:00
..
__snapshots__ Break link definitions onto multiple lines when needed (#3531) 2018-05-14 06:17:37 -04:00
cjk.md feat(markdown): support CJK and emoji (#3026) 2017-10-14 23:57:31 -05:00
collapsed.md feat: support markdown (#2943) 2017-10-12 09:46:44 +11:00
definition.md Break link definitions onto multiple lines when needed (#3531) 2018-05-14 06:17:37 -04:00
full.md feat: support markdown (#2943) 2017-10-12 09:46:44 +11:00
jsfmt.spec.js Break link definitions onto multiple lines when needed (#3531) 2018-05-14 06:17:37 -04:00
shortcut.md feat: support markdown (#2943) 2017-10-12 09:46:44 +11:00
title.md Conform the quotes in Markdown link titles to the singleQuote option (#3481) 2017-12-24 15:44:38 +01:00