Vaadin WC API reference

Description

<vaadin-markdown> is a web component for rendering Markdown content. It takes Markdown source as input and renders the corresponding HTML.

Styling

The component does not have specific shadow DOM parts for styling the rendered Markdown content itself, as the content is rendered directly into the component's light DOM via a slot. You can style the rendered HTML elements using standard CSS selectors targeting the vaadin-markdown element.

See Styling Components documentation.

Properties

content

Type: string | null | undefined

The Markdown content.