Skip to content

Commit c3b818e

Browse files
authored
fix: properly format MDX code blocks in Quickstart (#33)
1 parent 4a805d1 commit c3b818e

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

docs/getting-started/quickstart.mdx

+7-15
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,29 @@ description: Learn the basics of the AI Agent SDK in a few minutes.
66

77
<Steps>
88
<Step title="Start with a template">
9-
```npx @covalenthq/create-zee-app```
9+
<pre><code>npx @covalenthq/create-zee-app</code></pre>
1010
</Step>
1111
<Step title="Modify the agent">
12-
```tsx
13-
const agent1 = new Agent({
12+
<pre><code>{`const agent1 = new Agent({
1413
name: "Agent1",
1514
model: {
1615
provider: "OPEN_AI",
1716
name: "gpt-4o-mini",
1817
},
1918
description: "A helpful AI assistant that can engage in conversation.",
20-
});
21-
```
19+
});`}</code></pre>
2220
</Step>
2321
<Step title="Modify the ZEE Workflow">
24-
```tsx
25-
const zee = new ZeeWorkflow({
22+
<pre><code>{`const zee = new ZeeWorkflow({
2623
description: "A workflow of agents that do stuff together",
2724
output: "Just bunch of stuff",
2825
agents: { agent1, agent2 },
29-
});
30-
```
26+
});`}</code></pre>
3127
</Step>
3228
<Step title="Run the Zee Workflow">
33-
```tsx
34-
(async function main() {
29+
<pre><code>{`(async function main() {
3530
const result = await zee.run();
3631
console.log(result);
37-
})();
38-
```
39-
32+
})();`}</code></pre>
4033
</Step>
41-
4234
</Steps>

0 commit comments

Comments
 (0)