Skip to main content

compiler.docs

Static Content Page in MDX#

Docs for Compiler aspect

Component usage#

Use your component in any mdx file:

import { Compiler } from '@teambit/aspect-docs.compiler';
<Compiler />;

Render with theme and MDX providers#

import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';import { MDXLayout } from '@teambit/ui.mdx-layout';import { Compiler } from '@teambit/aspect-docs.compiler';
<ThemeCompositions>  <MDXLayout>    <Compiler />  </MDXLayout></ThemeCompositions>;