Skip to content

Kit Set Docusaurus

Pavel edited this page Oct 19, 2026 · 3 revisions

English | Русский

DocusaurusSet draws the :::kind containers of Docusaurus and VuePress: callouts and collapsible blocks. MDX components and JSX are not drawn: they are shown as text.

Containers in Docusaurus syntax

Connecting

MainWindow.xaml (xmlns:md="https://github.com/porohkun/Beresta.Markdown.Wpf" on the root element):

<md:MarkdownViewer Markdown="{Binding Text}">
    <md:MarkdownViewer.Extensions>
        <md:DocusaurusSet />
    </md:MarkdownViewer.Extensions>
</md:MarkdownViewer>

Syntax

Markdown On the screen
:::tip Title … ::: a callout of the kind; a container with an unknown name shows its content
:::danger[Title] … ::: a callout with the title of Docusaurus 3
:::details Title … ::: a collapsible block, as in VuePress

The kinds and their other names are in Callouts and Collapsibles.

Any .md file:

:::tip Pro tip
Containers take a kind and a title.
:::

:::danger[A title in brackets]
As in Docusaurus 3.
:::

:::details Click to expand
A collapsible block from VuePress.
:::

Beresta.Markdown.Wpf

Basics

Working with Text

Appearance

Integration

Editing

Your Own Syntax

Ready-made Extensions


По-русски

Основы

Работа с текстом

Оформление

Встраивание в приложение

Правка

Свой синтаксис

Готовые расширения

Clone this wiki locally