Skip to content

This package adds syntax definitions for the Laravel Blade engine.

License

Notifications You must be signed in to change notification settings

Medalink/laravel-blade

Repository files navigation

Laravel Blade Highlighter

This package adds syntax definitions for the Laravel Blade engine.

Works with various Sublime Text version, for older/specific versions use older/specific release.

How to install w/Sublime Package Control

  1. Search for Laravel Blade and install it.
  2. Restart Sublime Text.
  3. Reopen any .blade files.
  4. Enjoy :)

Sublime Text Manual Install

  1. Download or clone this repository into [install-dir]/Packages/laravel-blade
  2. Restart Sublime Text.
  3. Reopen any .blade files.
  4. Enjoy :)

Yeah but, show me what it is?

blade-example

Predawn.

blade-example

Material Theme.

Supported Extensions

How to Contribute

  • To test a local version of the highlighter first uninstall the highlighter from package control.
  • Follow the manual installation process by cloning the repo into your packages directory.
  • Restart Sublime Text.
  • Open up the '[install-dir]/Packages/laravel-blade' folder into a new Sublime Text project.
  • Open up the blade.tmLanguage file and make changes.
  • I have provided a test.blade file that holds most of the common uses for testing the regex, use this to verify your changes before and after you make them to ensure the changes you make do not break anything.
  • Send a pull request with a single change per request.