Render Markdown

Use this component to render markdown content client-side. It wraps rendered HTML in the <BaseProse> component, applying the Tailwind CSS prose class from the typography plugin.

This component uses remark and rehype to parse and render the markdown content.
نمایش کد
vue
source
Markdown source
ضروری
نمایش مثال
vue
fullwidth
Don't wrap content in default tailwind prose size
نمایش مثال
vue
langs
List of languages to highlight code blocks
نمایش مثال
vue
lines
Show line numbers
نمایش مثال
vue
mode
نمایش مثال
vue
size
Prose size modifier
نمایش مثال
vue
themes
Theme to use to highlight code blocks
نمایش مثال
vue