---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: jsx/newlines/test.js
---
# Input
```js
keep =
Welcome to the Universal React Starter-kyt.
This starter kyt should serve as the base for an advanced,
server-rendered React app.
newlines_text =
hi
there
how
are you
are you fine today?
newlines_text_spaced =
space above
space below
newlines_elems_spaced =
space above
space below
newlines_mixed =
hi
there
how
are you
are you fine today?
newlines_elems =
regression_extra_newline = (
New Messages
);
regression_extra_newline_2 = (
(
)
);
```
# Prettier differences
```diff
--- Prettier
+++ Rome
@@ -33,7 +33,9 @@
hi
+
+
);
```
# Output
```js
keep = (
Welcome to the Universal React Starter-kyt. This starter
kyt should serve as the base for an advanced, server-rendered React app.
);
newlines_text = hi there how are you are you fine today?
;
newlines_text_spaced = space above space below
;
newlines_elems_spaced = (
space above
space below
);
newlines_mixed = (
hi
there
how are you
are you fine today?
);
newlines_elems = (
);
regression_extra_newline = (
New Messages
);
regression_extra_newline_2 = (
(
)
);
```
# Lines exceeding max width of 80 characters
```
45:
```