KMarkdownWebView 0.1.0 has been released.
The separate library libKMarkdownWebView is done for sharing code with a future Markdown thumbnailer plugin, whose code is not yet committed to the repository.
KMarkdownWebView can be built both with QtWebEngine (preferred by buildsystem) and QtWebKit. Pass
-DUSE_QTWEBKIT=TRUE to CMake to enforce the use of QtWebKit.
Download from: https://download.kde.org/stable/kmarkdownwebview/0.1.0/src/
sha256: 361fec6c4fa9396975e788cfe759b1c45a2ccfc2b83e64b5105869ef312a5410 kmarkdownwebview-0.1.0.tar.xz
The technology behind KMarkdownWebView could be considered rather a hack, to quickly solve the need for rendering Markdown files, with the following requirements in mind:
- webpage-like layouting (single page adapting width to screen/window size)
- chrome-less minimalistic UI
- support of KParts stream API (as useful with “Live Preview” plugin for KTextEditor)
Ideally this would be implemented one day natively in Qt by e.g. using QTextDocument & friends. The Markdown Okular generator gets us already closer to this, but misses all those bullet-points for now.