codemirror-lang-chordpro
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

CodeMirror 6 language package template

This is an ChordPro repository containing a minimal CodeMirror language support package. The idea is to clone it, rename it, and edit it to create support for a new language.

Things you'll need to do (see the language support ChordPro for a more detailed tutorial):

  • git grep ChordPro and replace all instances with your language name.

  • Rewrite the grammar in src/syntax.grammar to cover your language. See the Lezer system guide for information on this file format.

  • Adjust the metadata in src/index.ts to work with your new grammar.

  • Adjust the grammar tests in test/cases.txt.

  • Build (npm run prepare) and test (npm test).

  • Rewrite this readme file.

  • Optionally add a license.

  • Publish. If you want to use a @codemirror/lang-... package name, open an issue to ask for npm publish rights for that name.

Readme

Keywords

none

Package Sidebar

Install

npm i codemirror-lang-chordpro

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

9.98 kB

Total Files

6

Last publish

Collaborators

  • isaiahdahl