As documented, Docusaurus has built in support for the user to write JSX inside Markdown files, that renders as React components.
A few detailed parts are required
[ ] Being able to separate the code from regular Markdown
[ ] Being able to parse the JSX component in Markdown. Docusaurus uses MDX as the parsing engine, so further understanding of how this engine is necessary
[ ] Being able to run the JSX generated code inside of SiteGen to generate the correct results.
[ ] Being able to output the correct results from the code and reflected in the same file when called inside the Markdown.
However, as MDX uses React, might have to update SiteGen to use React, or forfeit this feature altogether.
Continued from issue #16
As documented, Docusaurus has built in support for the user to write
JSX
inside Markdown files, that renders as React components.A few detailed parts are required
However, as MDX uses React, might have to update SiteGen to use React, or forfeit this feature altogether.