fix: improve add data section (#740)

This commit is contained in:
Taranjeet Singh
2023-09-30 11:13:44 -07:00
committed by GitHub
parent 7a1866d280
commit 28d41e9397
16 changed files with 224 additions and 162 deletions

12
docs/data-sources/mdx.mdx Normal file
View File

@@ -0,0 +1,12 @@
---
title: 'Mdx'
---
### Mdx file
To add any mdx file to your app, use the data_type (first argument to `.add()` method) as `mdx`. Note that this supports support mdx file present on machine, so this should be a file path. Eg:
```python
app.add('path/to/file.mdx', data_type='mdx')
```