Giter Site home page Giter Site logo

jade_notepad's Introduction

jade_notepad

Notepad++ Jade syntax highlighter

##Overview Jade is a templating language used in Node.js to render html in a simple and beautiful way. Learn more on Jade on the Official Github and some very cool learning websites here, here and here.

Jade_notepad extends Notepad++ standard language library to highlight specific syntax of jade in order to visually beautify your code. Do not waste you time to scan you code anymore : picture it!!

##Features

  • Jade specific syntax in dark orange.
  • Html syntax with default Notepad++ html color codes.
  • Comments greened out just like in other default Notepad++ languages.
  • Data bindings such as #{data} are highlighted specifically to be eye-catching.

##Install

By importing

  1. Download the UserDefineLang.xml file to your computer.
  2. Open NotePad++.
  3. Go to Language then User-Defined.
  4. On the new window click Create New... and enter Jade and press Ok.
  5. Click on Import... and select the file you just downloaded.
  6. Click on Save as... and you are done!

By copy/paste

  1. Download the UserDefineLang.xml file to your computer.
  2. Go to your local Notepad++ appdata directory, usually located in : C:\Users\YourUserName\AppData\Roaming\Notepad++ You can also do Windows+R to open the run command and type in : %APPDATA%\Notepad++
  3. If this is the first userdefined language you are adding, just replace the UserDefineLang.xml by the one you just downloaded. 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>
  4. Save the newly improved userDefineLang.xml.

##Known issues to be resolved

  • css like syntax is not correctly highlighted if it starts by an html tag e.g div#Id.MyClass do not work properly but div(id="Id", class="MyClass") or #Id.MyClass will work.
  • Quotes are not escaped.

##To Do

  • Highlight specific client side template syntaxes like Angular.js.
  • Specific folding behavior (hide/show): e.g folding an entire html node to reduce size of visible code.

jade_notepad's People

Contributors

jonarod avatar cchan avatar

Watchers

Mohammad Yousefi 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.