Skip to content

Kit Set HackMD

Pavel edited this page Oct 19, 2026 · 3 revisions

English | Русский

HackMDSet draws the notes of HackMD and CodiMD: :::kind containers, a table of contents and the embeds {%youtube id %}, {%vimeo id %}, {%gist user/id %}, {%pdf address %}.

A note in HackMD 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:HackMDSet />
    </md:MarkdownViewer.Extensions>
</md:MarkdownViewer>

LoadThumbnails="False" keeps video previews off the network. Other embeds of HackMD — {%slideshare %}, {%speakerdeck %} — stay text until your application adds them to ShortcodeHandlers, as in shortcodes.

Syntax

Markdown On the screen Part
:::success, :::info, :::warning, :::danger … ::: a callout of the kind :::kind containers
:::spoiler Title … ::: a collapsible block; {state="open"} after the name opens it :::kind containers
[TOC] as a paragraph the headings of the document table of contents
{%youtube id %}, {%vimeo id %} a video card shortcodes
{%gist user/id %}, {%pdf address %} a link card shortcodes

Any .md file:

[TOC]

## Meeting notes

:::success
Shipped on Friday!
:::

{%youtube jNQXAC9IVRw %}

:::spoiler Open questions
Hidden until expanded.
:::

Beresta.Markdown.Wpf

Basics

Working with Text

Appearance

Integration

Editing

Your Own Syntax

Ready-made Extensions


По-русски

Основы

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

Оформление

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

Правка

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

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

Clone this wiki locally