Skip to content

Commit 3e2a16f

Browse files
committed
Fix formatting
1 parent 5f2e1ea commit 3e2a16f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

WRITING.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Writing guide
1+
# Writing Guide
22

33
This is a documentation site built in [Mintlify](https://www.mintlify.com/docs). Writing in Mintlify is similar to `README.md`
44
docs you may be used to writing in markdown -- the main difference is that Mintlify uses MDX files (Markdown + JSX) files
@@ -83,7 +83,7 @@ Collapsible text content here....
8383
Math equations are supported via standard KaTeX plugins. You can write any LaTeX-style equation and get it rendered on the
8484
page by enclosing it in `$$` symbols.
8585

86-
```
86+
```mdx
8787
$$
8888
E = mc^2
8989
$$
@@ -112,7 +112,7 @@ import * as lancedb from "@lancedb/lancedb";
112112
use lancedb::connect;
113113
```
114114
</CodeGroup>
115-
```
115+
116116

117117
This will allow you to include code snippets from multiple languages, grouped together on the docs page so that the user
118118
can click on their language of choice via tabs.
@@ -141,11 +141,9 @@ import { PyConnect, TsConnect, RsConnect } from '/snippets/connection.mdx';
141141
</CodeBlock>
142142

143143
<CodeBlock filename="Rust" language="Rust" icon="rust">
144-
{ "// Rust imports go here\n" }
145144
{RsConnect}
146145
</CodeBlock>
147146
</CodeGroup >
148-
149147
```
150148

151149
### Option 3: Vanilla backticks

0 commit comments

Comments
 (0)