An open API service indexing awesome lists of open source software.

https://github.com/nocpiun/highlightjs-abc

Highlight.js grammar for Abc notation language
https://github.com/nocpiun/highlightjs-abc

abc-notation highlightjs hljs

Last synced: about 1 month ago
JSON representation

Highlight.js grammar for Abc notation language

Awesome Lists containing this project

README

          

# [Abc Notation](https://abcnotation.com) grammar for highlightjs

[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

## Usage

Simply include the Highlight.js library in your webpage or Node app, then load this module.
See the [highlight.js usage](https://github.com/highlightjs/highlight.js#basic-usage) page
for more details.

### Static website or simple usage

Load the module (found in the `dist` directory):

```html

hljs.highlightAll();

```

### With Node or another build system

If you're using Node / Webpack / Rollup / Browserify, etc, simply require the language
module, then register it with Highlight.js.

```javascript
var hljs = require('highlightjs');
var hljsAbc = require('highlightjs-abc');

hljs.registerLanguage("abc", hljsAbc);
hljs.highlightAll();
```

## Demo

_[Here is the demo page](https://nocpiun.github.io/highlightjs-abc)_

## Contribution

Contributions are welcome by pull request.

## Links

- The official site for the Highlight.js library is .
- The Highlight.js GitHub project:
- The Abc Notation Homepage:
- The Abc Notation Standard:
- abc.js Project for rendering Abc notation in webpages:

## LICENSE

[MIT](./LICENSE)