Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.07 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.07 KB

kpmpm - Kate plugin for the Pandoc markdown preview machine

This is a combination of the Kate preview addon and the KMarkdown Webview that is customized to use pmpm - pandoc markdown preview machine


Building and installing

NOTE: At the moment this overwrites the original kate preview addon and the original kmarkdownwebview installation (if present). This should be improved by renaming things.

Install to home directory

Build and install, e.g.

$ mkdir build && cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/.local
$ make -j5
$ make install

You may need to set the QT_PLUGIN_PATH variable before you run kate, e.g.:

$ export QT_PLUGIN_PATH=$HOME/.local/lib64/plugins
$ kate

Install to system

To install for the whole system (not just a single user), you can leave out the -DCMAKE_INSTALL_PREFIX switch and use sudo make install instead of make install. This should work without setting QT_PLUGIN_PATH.