---
title: "React"
description: "A minimal example showing how to use Comark with React and Vite."
canonical_url: "https://comark.dev/examples/vite/react"
---
# React

> A minimal example showing how to use Comark with React and Vite.

<code-explorer org="comarkdown" repo="comark@81a416b278b0f304d7e7577c7ac6bbfc78414790" path="examples/2.vite/react" defaultValue="src/App.tsx"></code-explorer>

This example shows the quickest way to use Comark with React - use the `Markdown` component and pass it markdown content. The component handles parsing and rendering automatically.


## Sitemap

See the full [sitemap](https://comark.dev/sitemap.md) for all pages.
