Skip to content

Commit 84a92ad

Browse files
committed
require("prettier") => prettier
1 parent 012e892 commit 84a92ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

changelog_unreleased/markdown/18656.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
We improved the text wrapping in Markdown written in Chinese and Japanese by treating some non Unicode punctuation characters as equivalent to CJK punctuation. A part of this was assumed to have been introduced in 3.5.0 ([#16832](https://github.com/prettier/prettier/pull/16832)), but it was not fully implemented and not noticed until now due to insufficient test cases.
44

55
```js
6-
await require("prettier").format(
6+
await prettier.format(
77
"U+3000\u{3000}\nU+301C\u{301C}\nU+FF5E\u{FF5E}\nU+1F221\u{1F221} 测试 Test テスト\n",
88
{ parser: "markdown", proseWrap: "always" },
99
);

0 commit comments

Comments
 (0)