plain.md
# plain markdown
some.mdx
# some mdx file
include './plain.md'
结果文件
# some mdx file
# plain markdown
如何使用mdxjs做这样的事情?
答案 0 :(得分:0)
在their docs中,实际上是正确的。也称为包涵。
import License from './license.md'
import Contributing from './docs/contributing.mdx'
# Hello, world!
<License />
---
<Contributing />