Skip to content

Commit 42f6e34

Browse files
committed
fix js in md
1 parent ad1ff62 commit 42f6e34

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

dprint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"indentWidth": 2
55
},
66
"excludes": [
7+
"**/*.ts",
78
"pnpm-lock.yaml",
89
"src/docs/guide/usage/linter/rules/eslint/no-with.md",
910
"public/sponsors.svg"
1011
],
1112
"plugins": [
13+
"https://plugins.dprint.dev/typescript-0.95.12.wasm",
1214
"https://plugins.dprint.dev/json-0.21.0.wasm",
1315
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
1416
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",

src/blog/2025-12-01-oxfmt-alpha.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $ deno add -D npm:oxfmt@latest
4747

4848
Oxfmt follows Prettier’s configuration format. If you are using Prettier with a JSON configuration file, you can rename it to `.oxfmtrc.jsonc`:
4949

50-
```jsx
50+
```bash
5151
cp .prettierrc.json .oxfmtrc.jsonc
5252
```
5353

src/docs/guide/usage/minifier/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ It may be surprising that new lines in strings are not removed and replaced with
1010

1111
```js
1212
// this code is 16 bytes
13-
const foo="a\nb"
13+
const foo = "a\nb";
1414

1515
// this code is 15 bytes
16-
const foo=`a
17-
b`
16+
const foo = `a
17+
b`;
1818
```

0 commit comments

Comments
 (0)