Refactor markdown rendering

This commit is contained in:
Kamran Ahmed
2019-11-29 18:36:49 +04:00
parent 77dab81b92
commit ebd351e133
13 changed files with 20 additions and 17 deletions

View File

@@ -0,0 +1,21 @@
import P from './p';
import { Headings } from './heading';
import { Pre } from './pre';
import BlockQuote from './blockquote';
import { Table } from './table';
import { IFrame } from './iframe';
import { Img } from './img';
import EnrichedLink from './a';
const MdxComponents = {
p: P,
...Headings,
pre: Pre,
blockquote: BlockQuote,
a: EnrichedLink,
table: Table,
iframe: IFrame,
img: Img,
};
export default MdxComponents;