Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/glyph-markdown/src/Markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,22 @@ export interface MarkdownProps {
* document contains code blocks. Code blocks render immediately with plain
* text, then re-render with highlighting once Shiki is ready.
*
* ## Installation
*
* This component is part of the `@semos-labs/glyph-markdown` package which
* is **not** included in the core `@semos-labs/glyph` package.
*
* ```bash
* bun add @semos-labs/glyph-markdown
* # or: npm install @semos-labs/glyph-markdown
* ```
*
* Requires `@semos-labs/glyph` and `react` as peer dependencies.
*
* @example
* ```tsx
* import { Markdown } from "@semos-labs/glyph-markdown";
*
* <Markdown>{source}</Markdown>
* ```
*
Expand Down