We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df726bd commit 08e2ec4Copy full SHA for 08e2ec4
index.js
@@ -2,5 +2,11 @@ import React from 'react';
2
import { render } from 'react-dom';
3
import MDXDocument from './test.mdx';
4
5
-// const Zip = () => <div>boop</div>;
+/**
6
+ * Experiment to test MDX -> JSX transpilation through babel.
7
+ *
8
+ * Outputs MDXDocument, changing MDXDocument will cause webpack
9
+ * to hot-reload with new contents.
10
+ */
11
+
12
render(<MDXDocument />, document.getElementById('root'));
test.mdx
@@ -1,3 +1,6 @@
1
+<!-- This is an MDX file that is imported in index.js and transpiled to
+JSX and then rendered, feel free to change this! -->
# Hello, _world_!
Below is an example of JSX embedded in Markdown. <br /> **Kara and dom were successful!**
0 commit comments