Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dandimrod/silverbullet-abcjs
Integration for silverbullet with abcjs
https://github.com/dandimrod/silverbullet-abcjs
Last synced: 17 days ago
JSON representation
Integration for silverbullet with abcjs
- Host: GitHub
- URL: https://github.com/dandimrod/silverbullet-abcjs
- Owner: dandimrod
- License: mit
- Created: 2024-05-15T11:43:41.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-01T20:12:50.000Z (2 months ago)
- Last Synced: 2024-10-10T06:02:29.986Z (29 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Silver Bullet ABCjs plug
## Installation
Run the {[Plugs: Add]} command and paste in: `github:dandimrod/silverbullet-abcjs/abcjs.plug.js`That's all!
## Use
Put a abc notation block in your markdown:
```abc
X:1
K:DDD AA|BBA2|
```And move your cursor outside of the block to live preview it!
**Note:** [abcjs](https://github.com/paulrosen/abcjs) itself is not bundled with this plug, it pulls the JavaScript, CSS and fonts from the JSDelivr CDN.
## Build
Assuming you have Deno and Silver Bullet installed, simply build using:```shell
deno task build
```Or to watch for changes and rebuild automatically
```shell
deno task watch
```Then, load the locally built plug, add it to your `PLUGS` note with an absolute path, for instance:
```
- file:/Users/you/path/to/abcjs.plug.json
```And run the `Plugs: Update` command in SilverBullet.
## Disclaimer
Based heavily on the plug [KaTeX](https://silverbullet.md/Plugs/KaTeX) by Zef Hemel.