Registry / devops / reflex-components-markdown

reflex-components-markdown

JSON →
library0.9.3pypypi✓ verified 86d ago

Reflex Components Markdown provides a Markdown component for the Reflex web framework, enabling easy rendering of Markdown content with syntax highlighting and custom components. Current version is 0.9.3, and it follows Reflex's release cadence, with updates tied to Reflex changes.

pip install reflex-components-markdown
INSTALL
IMPORT
SIG · REFLEX-COMPONENTS-
R
reflex-components-markdown
devopspythonv0.9.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

markdown
from reflex_components_markdown import markdown
from reflex_components import markdown
Deprecated in v0.9.0+; separate package now.
Markdown
from reflex_components_markdown import Markdown

Minimal Reflex app that renders a Markdown string.

import reflex as rx from reflex_components_markdown import markdown class State(rx.State): pass def index() -> rx.Component: return rx.container( markdown("# Hello\n\nThis is **Markdown** content.") ) app = rx.App() app.add_page(index, route="/") app.compile()
Debug
Known issues
breakingIn v0.9.0, the import path changed. The old `from reflex_components import markdown` is removed. Must use `from reflex_components_markdown import markdown`.
fix
Update import statement to use the new package.
affects: >=0.9.0
gotchaThe `markdown` function returns a Reflex component, not raw HTML. Cannot be used outside of a Reflex app context.
fix
Ensure the markdown component is used within a Reflex app's page or component tree.
affects: all
gotchaSyntax highlighting requires the `pygments` package to be installed. If missing, code blocks will be rendered without highlighting.
fix
Install pygments: `pip install pygments`.
affects: all
Errors
Common errors & fixes
ImportError: cannot import name 'markdown' from 'reflex_components'
Old import path used; the component was moved to a separate package.
fix
Install the separate package: `pip install reflex-components-markdown` and use `from reflex_components_markdown import markdown`.
ModuleNotFoundError: No module named 'markdown'
The 'markdown' library is not installed (required for parsing).
fix
Install it: `pip install markdown`.
Upgrade
Version history
0.9.3latest on PyPI · released Jun 4, 2026
Audit
Dependencies
reflexrequiredRequired runtime dependency; this is a Reflex component library.
markdownrequiredRequired for Markdown parsing.
pygmentsoptionalUsed for syntax highlighting in code blocks.
Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

reflex-components-markdown — pip install reflex-components-markdown · libregistry