Skip to main content
Version: 57.2.0

MarkdownView

Render markdown using the design system fonts and colors. Headings map to theme sizes (h1→xl, h2→lg, h3→md, h4→sm).

Package: @terreno/ui
Categories: Component
Props interface: TextProps
Story source: demo/stories/MarkdownView.stories.tsx

Live demo

Props

PropTypeRequiredDescription
alignunion
boldboolean
childrenReactNode
colorkeyof TextTheme
italicboolean
numberOfLinesnumber
sizeTextSize
skipLinkingboolean
testIDstringRoot test id for the primary interactive element or container.
truncateboolean
underlineboolean