Skip to content

inyokaproject/inyokaedit

Repository files navigation

InyokaEdit CodeQL

InyokaEdit is a markup editor for Inyoka articles.

Screenshot

Features:

  • Download raw text of Inyoka article (including pictures)
  • Upload article into Inyoka wiki
  • Integrated article preview
  • Tab support for editing multiple articles in parallel
  • Code completion for templates
  • Simple Inyoka syntax check (parenthesis, known templates)
  • All Inyoka templates and InterWiki links available via menu entries
  • Save article together with images in one file
  • Plug-ins:
    • Syntax highlighting of Inyoka elements
    • Spell checker (based on Hunspell or optionally Nuspell)
    • Hotkyes for own text blocks
    • Knowledge block dialog (ubuntuusers.de)
    • Table generator / converter (ubuntuusers.de)

Installation

PPA for Ubuntu:

sudo add-apt-repository ppa:elthoro/inyokaedit
sudo apt-get update
sudo apt-get install inyokaedit inyokaedit-data-ubuntuusersde inyokaedit-plugins

AppImage, Flatpak and build for Windows: https://github.com/inyokaproject/inyokaedit/releases

Packages in Arch AUR: https://aur.archlinux.org/packages/?K=inyokaedit

Build instructions

  • InyokaEdit can be compiled with Qt >= 5.11 or Qt >= 6.0 (optional, but recommended for integrated preview: Including webkitwidgets or webenginewidgets)
  • For compiling spell checker plugin "spellchecker-hunspell" libhunspell-dev or for "spellchecker-nuspell" libnuspell-dev is needed.
  • For running InyokaEdit, community files have to be included. Because of this it is recommended to include the community files during make/cmake install. For this, the community branch has to be included inside the main branch root folder.

make / qmake (Qt 5 or Qt 6)

If Qt 6 shall be used, change export QT_SELECT = qt5 in make file accordingly.

./configure   # Execute ./configure --help to see all config options
make -j8      # Adjust -j8 according to your available cores.
make install

cmake (Qt 6 only)

Adjust CMAKE_PREFIX_PATH according to your Qt installation. Optionally set -DPREVIEW=[none/useqtwebkit/useqtwebengine] to disable preview / use Qt WebKit / use Qt WebEngine.

cmake -B build-cmake -DCMAKE_PREFIX_PATH=/usr/include/qt6 -DCOMMUNITY=community/ubuntuusers_de
cmake --build build-cmake -- -j8  # Adjust -j8 according to your available cores.
sudo cmake --install build-cmake  # or DESTDIR=foobar cmake --install build-cmake