Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 2.04 KB

README.md

File metadata and controls

42 lines (24 loc) · 2.04 KB

Markdown Syntax Highlighting for the Kate Editor

Note: Kate now has it's own Markdown syntax rules, so there is no longer a need to install these.

Fork of markdown syntax rules for Kate (KDE Editor) and katepart backend originally created by Darrin Yeager, with improvements and updates from claes.

These syntax rules are dual-licensed under the GPL and BSD licenses.

I have also added my own modifications:

  • This README file
  • (planned) A PKGBUILD for easy installation to the system in Arch Linux
  • (planned) Support for nested code highlighting using sjrd's github flavor branch

Additional contributors whose modifications have been pulled to this repository include:

Dependencies

  • KDE Desktop Environment (all KDE apps use katepart)

Installing from Arch Linux or a derivative

If you use Arch, you can easily install these syntax rules using the AUR or CCR package kate-syntax-markdown-git. You can also use the included PKGBUILD or precompiled tar.xz in this git repository .

Installing to Home Directory

mkdir -p ~/.kde/share/apps/katepart/syntax/
curl -L https://raw.github.com/antonizoon/kate-markdown/master/markdown.xml -o ~/.kde/share/apps/katepart/syntax/markdown.xml

Then save your already opened markdown files and restart Kate.

Installing to System Directory

Run all commands as root.

curl -L https://raw.github.com/antonizoon/kate-markdown/master/markdown.xml -o /usr/share/apps/katepart/syntax/markdown.xml

Then save your already opened markdown files and restart Kate.