mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-13 16:23:34 +02:00
feat(v2): enable JSX in markdown using MDX (#1263)
* feat(v2): enable JSX in markdown * reformat docs * chore(v2): nits * remove dummy test * include .mdx extension * add syntax highlighting with prismjs
This commit is contained in:
parent
801453fae6
commit
643addb729
10 changed files with 661 additions and 234 deletions
|
@ -19,6 +19,9 @@ import siteConfig from '@generated/docusaurus.config'; //eslint-disable-line
|
|||
|
||||
import DocusaurusContext from '@docusaurus/context';
|
||||
|
||||
// TODO: allow choosing prismjs theme
|
||||
import 'prismjs/themes/prism.css';
|
||||
|
||||
const data = {
|
||||
blogMetadata,
|
||||
docsMetadatas,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue