Fedora

How to install Markpado Markdown editor on Fedora 23 KDE

This article shows how to install Markpado on Fedora 23 KDE. The steps should also work on any other distribution that’s based on Fedora and uses the KDE desktop environment. To install it on Kubuntu 15.10, see this guide.

Markpado is a lightweight Markdown text editor for KDE. It’s actually a component of Marketo, a note-taking application for KDE. For a list of other Markdown editors that I’ve investigated, see The best Markdown editors for Linux.

Since Markpado is a component of Marketo, this guide really shows how to install Marketo. Markpado is a bonus, and a very nice one. I’m laying emphasis on Markpado because that’s the component I’m most interested in. A text editor with support for Markdown is a better note-taking application than a plain text editor. Note that Marketo has partial support for CommonMark, which is an implementation of and an effort to standardize Markdown.

Markpado is not close to being ready for so-called production use, but if all you need is a resource-friendly Markdown editor, it fits the bill nicely. Just be aware that at this stage, it lacks support for tabs. You do, however, get split-screen live previews, in-place previews, and a rich set of configuration settings.

Figure 1 shows Markpado in use.

Markpado Markdown editor for KDE
Figure 1: Markpado with a split-screen live preview

If you’re looking for a lightweight Markdown editor and like what you’ve read so far, keep reading to learn how to install Marketo (and Markpado).

Markpado and its dependencies have to be compiled from source, so fire up a shell terminal and let’s get started.

Step 1Install Libmdcpp
Libmdcpp is the main dependency you need to install. It’s a Markdown implementation forked from cpp-markdown, and has to be compiled from source. Libmdcpp has some dependencies of its own, so let’s install them first using the following command.

After that’s completed, clone and compile libmdcpp using the following commands:

Step 2Install Other Dependencies
If you did not get any errors from compiling libmdcpp, you may now install the other dependencies using the following command:

Step 3Install Marketo and Markpado
In this third and final step, you’ll now compile Marketo/Markpado using the follow commands:

If you navigate to the $HOME/software/bin directory, you’ll find twp programs – marknoto and markpado. The former is a simple note-taking application. Markpado is the subject of this tutorial. To launch it, type the following command:

Figure 2 is a screenshot of the preview window of Markpado.

Markpado preview window
Figure 3: Markpado in-place preview

Markpado features a rich set of settings, some of which are shown in Figure 3.

Markpado settings
Figure 2: Markpado settings

Please share:

We Recommend These Blockchain Conferences and Servicess

Register now for Blockchain & Decentralized Tech SuperSummit, international conference on blockchain technology in Dallas, TX (USA), April 1 - 4, 2019

Reasons to use control panel for your server

Today's valid web hosting discount codes

Learn how to trade cryptocurrencies using technical and fundamental analyses at BDT SuperSummit

Best binary auto trading software reviews by 7binaryoptions.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).


14 Comments

  1. Now, I’ve got an error after managed to overcome the previous compile error.


    CMake Error at markpado/CMakeLists.txt:36 (add_subdirectory):
    The source directory

    /home/badwi/Projects/marketo/markpado/kate-commonmark

    does not contain a CMakeLists.txt file.

    -- Configuring incomplete, errors occurred!

    Please help me

    • okay, I’ve touch the CMakeLists.txt, and now appeared some warning:


      CMake Warning (dev) at markpado/CMakeLists.txt:13 (add_executable):
      Policy CMP0063 is not set: Honor visibility properties for all target
      types. Run "cmake --help-policy CMP0063" for policy details. Use the
      cmake_policy command to set the policy and suppress this warning.

      Target "markpado" of type "EXECUTABLE" has the following visibility
      properties set for CXX:

      CXX_VISIBILITY_PRESET
      VISIBILITY_INLINES_HIDDEN

      For compatibility CMake is not honoring them for this target.
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Warning (dev) at marknoto/CMakeLists.txt:20 (add_executable):
      Policy CMP0063 is not set: Honor visibility properties for all target
      types. Run "cmake --help-policy CMP0063" for policy details. Use the
      cmake_policy command to set the policy and suppress this warning.

      Target "marknoto" of type "EXECUTABLE" has the following visibility
      properties set for CXX:

      CXX_VISIBILITY_PRESET
      VISIBILITY_INLINES_HIDDEN

      For compatibility CMake is not honoring them for this target.
      This warning is for project developers. Use -Wno-dev to suppress it.

      Sorry, as I’m newbie in Fedora

    • If you’re installing over the last error, you need to start from scratch, or delete /tmp/marketo/CMakeLists.txt file and try again.

    • Here is a Install Guide for Ubuntu and Arch user:
      https://github.com/sadhen/marketo/wiki/Install-Guide

      For this case, you need to:
      bash
      cd /path/to/marketo
      git submodule init
      git submodule update

      Then you will get the complete code for Marketo.

  2. Vishnukant tripathi

    hiiii
    I’m new to fedora. I’m trying to install the markdown editor.
    but after cloning marketo.git when i run the following command

    ##cmake -DCMAKE_INSTALL_PREFIX=$HOME/software ..

    system raises the error
    CMake Error at CMakeLists.txt:7 (find_package):
    Could not find a package configuration file provided by “ECM” (requested
    version 1.7.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

    Add the installation prefix of “ECM” to CMAKE_PREFIX_PATH or set “ECM_DIR”
    to a directory containing one of the above files. If “ECM” provides a
    separate development package or SDK, be sure it has been installed.

    — Configuring incomplete, errors occurred!
    See also “/tmp/marketo/build/CMakeFiles/CMakeOutput.log”.

    How can i resolve this issue.
    hopeful for your reply

    thankss!!!

Leave a Reply to Darcy Shen Cancel

Your email address will not be published. Required fields are marked *

*