Get StartedInstallation

Installation

Requirements

  • React 18.0.0 or higher
  • Node.js 16.0.0 or higher

Using npm

npm install ds-markdown

Using yarn

yarn add ds-markdown

Using pnpm

pnpm add ds-markdown

Import Styles

If you need to use default styles, import the CSS file:

import 'ds-markdown/style.css';

If using math formulas, also import KaTeX styles:

import 'ds-markdown/katex.css';

Verify Installation

After installation, you can verify it with:

import DsMarkdown from 'ds-markdown';
 
function App() {
  return (
    <DsMarkdown interval={20}>
      # Installation Successful!
      
      If you can see this text, the installation was successful.
    </DsMarkdown>
  );
}