Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 630 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 630 Bytes

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