Skip to content

Kit Set GitLab

Pavel edited this page Oct 19, 2026 · 3 revisions

English | Русский

GitLabSet draws what GitLab adds to Markdown: a table of contents in place, issue links, color codes and emoji. Merge requests !123 stay text: issue links know only the prefixes #, group/project# and PROJ-.

A document in GitLab syntax

Connecting

MainWindow.xaml (xmlns:md="https://github.com/porohkun/Beresta.Markdown.Wpf" and xmlns:sys="clr-namespace:System;assembly=System.Runtime" on the root element):

<md:MarkdownViewer Markdown="{Binding Text}">
    <md:MarkdownViewer.Extensions>
        <md:GitLabSet>
            <md:GitLabSet.IssueTemplates>
                <sys:String x:Key="#">https://gitlab.com/group/project/-/issues/{0}</sys:String>
            </md:GitLabSet.IssueTemplates>
        </md:GitLabSet>
    </md:MarkdownViewer.Extensions>
</md:MarkdownViewer>

Without a template #123 stays text.

Syntax

Markdown On the screen Part
[[_TOC_]], [TOC] as a paragraph the headings of the document table of contents
#123 a link by your template issue links
`#FC6D26`, `hsl(15, 97%, 57%)` the code with a circle of its color color codes
:rocket: an emoji emoji

Any .md file:

[[_TOC_]]

## Staging

Fixes #42 :rocket: — the new badge color is `#FC6D26`.

## Production

Released after the review :white_check_mark:

Beresta.Markdown.Wpf

Basics

Working with Text

Appearance

Integration

Editing

Your Own Syntax

Ready-made Extensions


По-русски

Основы

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

Оформление

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

Правка

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

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

Clone this wiki locally