Skip to content

Kit Set MkDocs

Pavel edited this page Oct 19, 2026 · 3 revisions

English | Русский

MkDocsSet draws the admonitions of MkDocs and Material for MkDocs: !!! for a callout, ??? for a collapsible one. Tables, footnotes, abbreviations, definition lists and task lists need no set.

Admonitions in MkDocs 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:MkDocsSet />
    </md:MarkdownViewer.Extensions>
</md:MarkdownViewer>

Syntax

Markdown On the screen
!!! note "Title" and content indented by four spaces a callout; without a title — the title of the kind
??? warning "Title" a collapsible callout, collapsed
???+ example "Title" a collapsible callout, expanded

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

Any .md file:

!!! note "Install"
    Run `dotnet add package Beresta.Markdown.Wpf`.

??? warning "Collapsed at first"
    Click the title to read.

???+ example "Open at first"
    A collapsible admonition that starts open.

Beresta.Markdown.Wpf

Basics

Working with Text

Appearance

Integration

Editing

Your Own Syntax

Ready-made Extensions


По-русски

Основы

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

Оформление

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

Правка

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

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

Clone this wiki locally