Skip to content

Commit

Permalink
⬆️ Bump version & change language name
Browse files Browse the repository at this point in the history
  • Loading branch information
TilBlechschmidt committed Nov 21, 2020
1 parent 09ce655 commit 6fab264
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Obsidian ABC.JS plugin

This plugin renders music sheets from code blocks using the `abc` language. Under the hood it uses [abc.js](https://paulrosen.github.io/abcjs/) and supports everything the library does.
This plugin renders music sheets from code blocks using the `music-abc` language. Under the hood it uses [abc.js](https://paulrosen.github.io/abcjs/) and supports everything the library does.

## Examples

### Simple song

```abc
```music-abc
X:1
T:The Legacy Jig
M:6/8
Expand All @@ -21,7 +21,7 @@ This plugin renders music sheets from code blocks using the `abc` language. Unde

### Chorus music

```abc
```music-abc
X: 1
T: Chorus
V: T1 clef=treble name="Soprano"
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default class MusicPlugin extends Plugin {
const blockToReplace = el.querySelector('pre')
if (!blockToReplace) return

const musicBlock = blockToReplace.querySelector('code.language-abc')
const musicBlock = blockToReplace.querySelector('code.language-music-abc')
if (!musicBlock) return

const source = musicBlock.textContent
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-plugin-abcjs",
"name": "Music notation",
"version": "1.0.0",
"version": "1.0.1",
"minAppVersion": "0.9.15",
"description": "Plugin which renders music notation from code blocks. Uses the `abc` language.",
"author": "Til Blechschmidt",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-sample-plugin",
"version": "0.9.7",
"name": "obsidian-plugin-abcjs",
"version": "1.0.1",
"description": "Plugin which renders music notation from code blocks. Uses the `abc` language.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"1.0.0": "0.9.15"
"1.0.0": "0.9.15",
"1.0.1": "0.9.15"
}

0 comments on commit 6fab264

Please sign in to comment.