Code Monkey home page Code Monkey logo

ink_npp's Introduction

ink_npp

Notepad++ syntax-highlighting for Ink files

ScreenShot

What it is

Just a simple XML file to import as User Defined Language in Notepad++ which allows syntax highlighting of files written in Ink.

Issues

There are still some minor issues I wasn't able to work out, such as variable assigments being interpreted as stiches or closing brackets following a redirection get dropped. So instead of

{ putcomponentintent: -> put_component_inside_tent }

it's better to have the closing bracket on the following line:

{ putcomponentintent: -> put_component_inside_tent
}

Installation

  1. Download the ink_npp.xml file
  2. Open Notepad++
  3. In the menu bar, click "Languages" and to the bottom, "Define your language..."
  4. Click "Import"
  5. Select and open the ink_npp.xml file you downloaded before
  6. Close the Language Definition Window.

Each time you want to highlight Ink markup, just select it from the Language menu. It will be at the bottom with the other user defined styles. If you open files with an .ink extension, they will get recognized as such automatically.

Alternate Method

(from the Notepad++ website)

  1. Download the user-defined language to your computer
  2. Open the file with your favourite text editor (such as Notepad++ or notepad)
  3. Click start, run, type (or paste in) %APPDATA%\Notepad++ then click ok
  4. Open userDefineLang.xml with a text editor
  5. If this is the first userdefined language you are adding, copy/paste the entire first file (which you downloaded) into the userDefineLang.xml, replacing all that was there. If this is the second or more language you add, simply copy everything from the first file starting at <UserLang...> to </UserLang> and paste it at the end of the userDefineLang.xml right before </NotepadPlus>
  6. Save the newly improved userDefineLang.xml

ink_npp's People

Contributors

pixelprophecy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.