/lang-handlebars

Handlebars language support for CodeMirror6

Primary LanguageJavaScriptMIT LicenseMIT

Handlebars Language CodeMirror 6

This package aims to provide Handlebars language support to CodeMirror 6.

Usage

To use this, simply install via NPM:

npm install @xiechao/codemirror-lang-handlebars

Then you can use it like so:

import { handlebarsLanguage } from "@xiechao/codemirror-lang-handlebars"

handlebarsLanguage // => https://codemirror.net/docs/ref/#language.LRLanguage

Development

The following commands can be used for development:

# Prepare/Build the codebase
npm run prepare

# Test the codebase, must be prepared beforehand
npm t