Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

316.7. markdownpart-26.08.2

KParts viewer for Markdown documents, behind Kate's Markdown preview and Konqueror

26.08.2-1 · LGPL-2.1-or-later AND CC0-1.0 · 0.8 SBU · 184.3 KiB, 3 files · 44_apps, 265 of 422 · ports/core/kde/markdownpart

Homepage: https://invent.kde.org/utilities/markdownpart

markdownpart is a KParts component that renders Markdown documents. Kate’s Markdown preview plugin and Konqueror embed it to show a text/markdown file as formatted text, and follow links between documents inside it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, ki18n, kparts.

Required by (1): kde-gear-core.

Sources: markdownpart-26.08.2.tar.xz (34.7 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install markdownpart'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Directories: /usr/share/licenses/markdownpart.

Rendering is Qt’s own: the part hands the text to QTextDocument::setMarkdown(), which parses it with the md4c copy bundled in qt6-qtbase. No Markdown library is a dependency, and the part follows whatever Markdown dialect that Qt release implements.