Skip to main content

html.docs

Static Content Page in MDX#

Docs for Html aspect

Component usage#

Use your component in any mdx file:

import { Html } from '@teambit/html.aspect-docs.html';
<Html />;

Render with theme and MDX providers#

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