Themes
Themes
@ant-design/x-markdown/themes/theme-name.css
import { XMarkdown } from '@ant-design/x-markdown';import '@ant-design/x-markdown/themes/light.css';return <XMarkdown className="x-markdown-light" content="" />;
Use script and link tags to directly import files in browser, and inject className
to the component.
<script src="**/dist/themes/light.css"></script>