website/ce3e42ad.d4081561.js

1 line
1.6 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{123:function(e,t,o){"use strict";o.r(t),o.d(t,"frontMatter",(function(){return i})),o.d(t,"metadata",(function(){return a})),o.d(t,"rightToc",(function(){return d})),o.d(t,"Highlight",(function(){return s})),o.d(t,"default",(function(){return b}));var n=o(1),r=o(6),c=(o(0),o(132)),i={id:"mdx",title:"Powered by MDX"},a={id:"mdx",title:"Powered by MDX",description:"You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/).",source:"@site/docs/mdx.md",permalink:"/te-website/docs/mdx",editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/mdx.md",sidebar:"someSidebar",previous:{title:"This is Document Number 3",permalink:"/te-website/docs/doc3"}},d=[],s=function(e){var t=e.children,o=e.color;return Object(c.b)("span",{style:{backgroundColor:o,borderRadius:"2px",color:"#fff",padding:"0.2rem"}}," ",t," ")},u={rightToc:d,Highlight:s};function b(e){var t=e.components,o=Object(r.a)(e,["components"]);return Object(c.b)("wrapper",Object(n.a)({},u,o,{components:t,mdxType:"MDXLayout"}),Object(c.b)("p",null,"You can write JSX and use React components within your Markdown thanks to ",Object(c.b)("a",Object(n.a)({parentName:"p"},{href:"https://mdxjs.com/"}),"MDX"),"."),Object(c.b)(s,{color:"#25c2a0",mdxType:"Highlight"},"Docusaurus green")," and ",Object(c.b)(s,{color:"#1877F2",mdxType:"Highlight"},"Facebook blue")," are my favorite colors.",Object(c.b)("p",null,"I can write ",Object(c.b)("strong",{parentName:"p"},"Markdown")," alongside my ",Object(c.b)("em",{parentName:"p"},"JSX"),"!"))}b.isMDXComponent=!0}}]);