Replies: 2 comments 7 replies
-
This seems related to how it manages the Will need to think on this - Update: I can support the other whitespace mode that will help achieve what you want, it will just take me a while to get things updated and tested (unfortunately it won't be anytime within the next few weeks or so as I need to work out some layout challenges in a wide number of situations 🙂) |
Beta Was this translation helpful? Give feedback.
-
I would also like this to be possible since it currently also introduces extra spaces which shouldn't be part of the content. Considering: Shorten (and unshorten) URLs with your favorite automation tools like
<a href="#" target="_blank" rel="noopener">Make</a> (formerly Integromat),
<a href="#" target="_blank" rel="noopener">Raycast</a>,
<a href="#" target="_blank" rel="noopener">Zapier</a>, Turns into: Shorten (and unshorten) URLs with your favorite automation tools like
<a href="#" target="_blank" rel="noopener">Make</a>
(formerly Integromat),
<a href="#" target="_blank" rel="noopener">Raycast</a>
,
<a href="#" target="_blank" rel="noopener">Zapier</a>
, This introduces extra spaces in the output so it changes my content which is not ideal and unexpected. As a workaround I wrapped my content in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I save a blade.php file with this plugin, my html opening tags are all put on a new line.
Ideally I would only like that only automatic for block elements, not for the inline elements.
Are there options in prettier-plugin-blade I can set so that prettier doesn't place all elements on a new line?
When I have:
After save it becomes:
I just want to keep what I have.
Beta Was this translation helpful? Give feedback.
All reactions