Skip to content

Kit Set GitHub

Pavel edited this page Oct 19, 2026 · 3 revisions

English | Русский

GitHubSet draws what GitHub adds to Markdown: front matter as a table, mentions, issue links, color codes and emoji. Tables, task lists, > [!NOTE] callouts, footnotes and HTML from READMEs need no set — the viewer draws them by itself, see Supported Markdown.

A document in GitHub 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:GitHubSet />
    </md:MarkdownViewer.Extensions>
</md:MarkdownViewer>

Resolver gives the names of people, IssueTemplates the addresses of issues; without a template #123 stays text. How to set them is in Sets.

Syntax

Markdown On the screen Part
--- … --- at the start a «key — value» table properties card
@name a chip with the name of the person mentions
#123, org/repo#45 a link by your template issue links
`#0969DA`, `rgb(9, 105, 218)` the code with a circle of its color color codes
:tada: an emoji emoji

Any .md file:

---
title: Release notes
version: 0.6.0
---

Thanks @anna for #12 and @boris for #15 :tada:

The accent color is `#0969DA`, the warning one is `rgb(154, 103, 0)`.

Beresta.Markdown.Wpf

Basics

Working with Text

Appearance

Integration

Editing

Your Own Syntax

Ready-made Extensions


По-русски

Основы

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

Оформление

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

Правка

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

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

Clone this wiki locally