Fixes
-
JSDoc keeps a code fence's full info string. Before, tidy kept only the language, so
```ts ignorebecame```ts. Andtitle=x&{1,3}went away too. That's a real problem when a tool reads the meta: an example markedignoregot type-checked after all 🙃 This bug was in 2.0.0 & 2.1.0. (d5c424c)/** * ```ts ignore * add(1, 2); * ``` */The code inside is still formatted by the first word only. That's new for an
@example: its code under```ts ignorewasn't formatted before, and now it is.Note: This is a new deviation from
prettier-plugin-jsdoc, which keeps only the language. oxfmt does the same. Seejs-jsdoc. -
JSDoc prints a fence that the code inside can't close. A
```line inside a fence used to end it early. Now the fence is longer than any fence in its code, or it's made of~~~when the info string has a backtick. (d5c424c)
Chore
- The benchmark lists dprint's GraphQL plugin with the other versions. (237b890)