Skip to content

Commit 2e3f5e9

Browse files
fix: docs
1 parent f6dfaab commit 2e3f5e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ domain in literature without prior coordination or asking for permission.
4444

4545
MDXE is a zero-config CLI that allows you to build, execute, test, and deploy code in Markdown & MDX files. It uses MDX, ESBuild, ESLint, Next.js, React, Velite, and Vitest under the hood to rapidly develop apps and sites.
4646

47-
```markdown
47+
````markdown
4848
# Addition
4949

5050
Sometimes you need to `sum` two numbers:
5151

52-
\`\`\`typescript
52+
```typescript
5353
/**
5454
* Returns the sum of two numbers.
5555
* @param {number} a - The first number to add
@@ -62,11 +62,11 @@ Sometimes you need to `sum` two numbers:
6262
export function sum(a: number, b: number): number {
6363
return a + b
6464
}
65-
\`\`\`
65+
```
6666

6767
and make sure it works:
6868

69-
\`\`\`typescript
69+
```typescript
7070
describe('sum', () => {
7171
it('returns the sum of two positive numbers', () => {
7272
expect(sum(2, 3)).toBe(5)
@@ -86,8 +86,8 @@ describe('sum', () => {
8686
expect(sum(5, -8)).toBe(-3)
8787
})
8888
})
89-
\`\`\`
9089
```
90+
````
9191

9292
And you can execute the tests:
9393

0 commit comments

Comments
 (0)