fix: improve add data section (#740)

This commit is contained in:
Taranjeet Singh
2023-09-30 23:43:44 +05:30
committed by GitHub
parent 7a1866d280
commit 28d41e9397
16 changed files with 224 additions and 162 deletions
+12
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')
```