xiechao / lang-handlebars

Handlebars language support for CodeMirror6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Handlebars language support for CodeMirror6

License:MIT License


Languages

Language:JavaScript 71.7%Language:TypeScript 28.3%