Files
test-repo/tests/mdx/mixed.mdx
T
Ika 1790211f76 feat: support MDX (#4975)
* feat: support MDX

* refactor: flip condition
2018-08-13 22:23:09 +08:00

42 lines
613 B
Plaintext

import { Baz } from './Fixture'
import { Buz } from './Fixture'
export const foo = {
hi: `Fudge ${Baz.displayName || 'Baz'}`,
authors: [
'fred',
'sally'
]
}
# Hello, world!
I'm an awesome paragraph.
<!-- I'm a comment -->
<Foo bg='red'>
<Bar >hi </Bar>
{ hello }
{ /* another commment */}
</Foo>
```
test codeblock
```
```js
module.exports = 'test'
```
```sh
npm i -g foo
```
| Test | Table |
| :--- | :---- |
| Col1 | Col2 |
export default ({children }) => < div>{ children}</div>