Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.53 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.53 KB

Pug language module for BBEdit

BBEdit codeless language module for the Pug template engine.

Requires BBEdit v10.1 or greater by Barebones.

The file is a .plist property list.

Note!

This mostly kinda-sorta works but some problems still need resolving

  • Function and keyword highlighting is a little too enthusiastic
  • The good news is that it won't break anything
  • Suggestions welcome

Installation

  • Copy pug.plist to the Language Modules folder in BBEdit’s Application Support folder:

      ~/Library/Application Support/BBEdit/Language Modules/
    
  • Relaunch BBEdit

An easy way to open the correct folder is to choose Language Modules from the Folders menu, under the BBEdit application menu.

Features

  • Keys are listed following the order in Barebones’s Codeless Language Modules documentation
  • HTML elements are grouped by function following Mozilla’s reference
  • Deprecated elements are listed last under their own section but commented out (check here first if you find that an HTML element isn’t being coloured correctly)
  • The file is heavily commented, largely for the benefit of future me, but also hoping that it might help others.
  • Note for Usanians: ‘colour’ = ‘color’ (I’m a Brit)

END