GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - raohmaru/moderncss-npp-udl: Modern CSS syntax highlight for Notepad++

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
API
API
 
 
scraper
scraper
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
ModernCSS.xml
ModernCSS.xml
 
 
README.md
README.md
 
 

Repository files navigation

Modern CSS Syntax Highlighting for Notepad++

Provides syntax highlight and automatic completion in Notepad++ for the new features implemented in CSS, using Notepad++'s User Defined Language.

Note for developers
Most of the new feature are supported by all major browsers. If you are targetting old browsers you will need to transform your CSS into compatible CSS using tools like PostCSS and the preset postcss-preset-env.

CSS Features Support

  • Custom properties
  • Functions
  • Pseudo-selectors
  • New at-rules (@custom-media, @apply, ...)
  • Nesting

Installation

  1. Download UDL file ModernCSS.xml.
  2. Open Notepad++.
  3. Go to "Language > Define your language...".
  4. Click on "Import..." button, browse to the location where ModernCSS.xml was saved and open it.
  5. Restart Notepad++.

Usage

Open a CSS file and enable the syntax highlight by selecting "Language > ModernCSS".

(An example file 'test.css' is provided to test the syntax highlighting.)

Install Auto-completion File

Up-to-date auto-completion file for modern CSS development.

  1. Close Notepad++.
  2. Download API file ModernCSS.xml.
  3. Move the downloaded file to the "autoCompletion" subfolder in your Notepad++ installation folder.
  4. Open a CSS file with Notepad++ and check if auto-completion is working by typing the name of a property.

Theme Colors

The colors of the syntax highlighting are optimized for dark themes. If you want to change the colors to fit your theme, you can use the Used Define Language tool in Notepad++ or edit the ModernCSS.xml file.

License

Released under The MIT License (MIT).

About

Modern CSS syntax highlight for Notepad++

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.