Giter Site home page Giter Site logo

markdown_highlighting_kate's Introduction

Installing the OpenITI mARkdown EIS1600 mARkdown Highlighting schema for Kate editor

GENERAL

  • the EIS1600 scheme does not use "background colors", since they get in the way of using color themes (dark ones are completely unusable);
  • selection colors are fixed (add selColor="#XXXXXX" after color="#XXXXXX");

On Mac:

  1. Download the zip file https://github.com/OpenITI/mARkdown_highlighting_Kate/archive/refs/heads/main.zip
  2. Unzip the zip file
  3. Open the unzipped folder in Finder, press down the Control key and click on install_on_mac.sh. Choose "Open" from the dialog. You'll see a popup asking whether you are sure you want to execute this program from an unidentified developer. Click Open. This will install the OpenITImARkdown.xml file in the folder $HOME/Library/Application Support/org.kde.syntax-highlighting/syntax
  4. Close Kate and (re-)open it. The OpenITImARkdown highlighting scheme should now be visible in Kate's menu: Tools > Highlighting > Markup
  5. You can test whether it worked by opening the tags_test.mARkdown file in Kate; you should see the highlighting schema in action.

On Windows

  1. Download the zip file https://github.com/OpenITI/mARkdown_highlighting_Kate/archive/refs/heads/main.zip
  2. Unzip the zip file
  3. Open the unzipped folder in Explorer, and double-click install_on_windows.bat. This will install the OpenITImARkdown.xml file in the folder %LocalAppData%/org.kde.syntax-highlighting/syntax
  4. Close Kate and (re-)open it. The OpenITImARkdown highlighting scheme should now be visible in Kate's menu: Tools > Highlighting > Markup
  5. You can test whether it worked by opening the tags_test.mARkdown file in Kate; you should see the highlighting schema in action.

On Linux

  1. Download the zip file https://github.com/OpenITI/mARkdown_highlighting_Kate/archive/refs/heads/main.zip
  2. Unzip the zip file
  3. Open the unzipped folder in your file manager, and double-click install_on_linux.sh. This will install the OpenITImARkdown.xml file in the folder $HOME/.local/share/org.kde.syntax-highlighting/syntax/
  4. Close Kate and (re-)open it. The OpenITImARkdown highlighting scheme should now be visible in Kate's menu: Tools > Highlighting > Markup
  5. You can test whether it worked by opening the tags_test.mARkdown file in Kate; you should see the highlighting schema in action.

Editors: Documentation

Kate

Issues with highighting scheme in Kate:

  • there is an issue with the display of Arabic paragraphs when they are selected: the wrong part is highlighted (this issue goes away if you change "direction" of the paragraph by adding a Latin letter in the beginning > highlighting then is correct.)

EIS1600 Screenshots

Issues

  • still not quite figured: I ould not figure how to add another "section" highlight, similar to YML in OpenITI mARkdown; it seems like you can only have one of them, without alternatives.

  • If the syntax is not recognised after an update, validate your schema following the instructions at the bottom of this page from the official documentation. You will need to pass each file to the validator, e.g.: $ bash validatehl.sh SCHEME_FILES/OpenITImARkdown_EIS1600.xml

markdown_highlighting_kate's People

Contributors

maximromanov avatar lmischer avatar pverkind avatar kabikaj avatar

Watchers

Raff Viglianti avatar James Cloos avatar Masoumeh Seydi avatar  avatar S Merchant avatar  avatar

markdown_highlighting_kate's Issues

PARATEXT and EDITOR sections not folding

When selecting "fold top level nodes" from the menu, the ### |PARATEXT| and ### |EDITOR| sections are not among the section titles in the "table of contents".

I could not immediately see in the xml file why that's the case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.