Skip to content

Commit 2f0c886

Browse files
authored
Update code-blocks.mdx
1 parent 682d65e commit 2f0c886

File tree

1 file changed

+2
-2
lines changed
  • fern/products/docs/pages/component-library/default-components

1 file changed

+2
-2
lines changed

fern/products/docs/pages/component-library/default-components/code-blocks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ You can use regex patterns for more flexible matching. This is useful when you w
359359
<Tabs>
360360
<Tab title="Example">
361361
<CodeBlock
362-
links={{"Plant\w+": "/docs/writing-content/demo#type-definitions", "create_\w+": "/docs/writing-content/demo#create_plant"}}
362+
links={{"/Plant\\w+/": "/docs/writing-content/demo#type-definitions", "/create_\\w+/": "/docs/writing-content/demo#create_plant"}}
363363
>
364364
```python
365365
from plantstore import PlantClient, PlantConfig
@@ -375,7 +375,7 @@ You can use regex patterns for more flexible matching. This is useful when you w
375375
<Tab title="Markdown">
376376
````markdown
377377
<CodeBlock
378-
links={{"Plant\w+": "/docs/writing-content/demo#type-definitions", "create_\w+": "/docs/writing-content/demo#create_plant"}}
378+
links={{"/Plant\\w+/": "/docs/writing-content/demo#type-definitions", "/create_\\w+/": "/docs/writing-content/demo#create_plant"}}
379379
>
380380
```python
381381
from plantstore import PlantClient, PlantConfig

0 commit comments

Comments
 (0)