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
- Host: GitHub
- URL: https://github.com/nocpiun/highlightjs-abc
- Owner: nocpiun
- License: mit
- Created: 2025-07-02T11:57:13.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-07-24T09:05:08.000Z (7 months ago)
- Last Synced: 2025-09-30T20:42:10.581Z (5 months ago)
- Topics: abc-notation, highlightjs, hljs
- Language: JavaScript
- Homepage: https://nocpiun.github.io/highlightjs-abc/
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Abc Notation](https://abcnotation.com) grammar for highlightjs
[](./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)