ascii-tabs 0.10.3 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,14 @@ import { parse, format } from 'ascii-tabs';
|
|
|
24
24
|
|
|
25
25
|
No bundler? Load it from a CDN instead, see [Usage](#usage). Full documentation and a live, editable demo: **https://libasoles.github.io/ascii-tabs/**
|
|
26
26
|
|
|
27
|
+
## Used in
|
|
28
|
+
|
|
29
|
+
`ascii-tabs` runs in production on [acordesdeguitarra.com.ar](https://acordesdeguitarra.com.ar/en):
|
|
30
|
+
|
|
31
|
+
- [Tabs for arpeggios](https://acordesdeguitarra.com.ar/en/articles/tabs-for-arpeggios): an article with arpeggio tabs.
|
|
32
|
+
- [Create guitar tabs](https://acordesdeguitarra.com.ar/en/create-guitar-tabs): write your own tabs online.
|
|
33
|
+
- [Carcassi preludes](https://acordesdeguitarra.com.ar/en/articles/carcassi-preludes): integrated with sheet music (partituras).
|
|
34
|
+
|
|
27
35
|
## See it in action
|
|
28
36
|
|
|
29
37
|
### Edit and organize tabs
|
|
@@ -54,7 +62,7 @@ Design notes: [spec](docs/spec-v0.1.md), [glossary](GLOSSARY.md), [ADRs](docs/ad
|
|
|
54
62
|
## Usage
|
|
55
63
|
|
|
56
64
|
```html
|
|
57
|
-
<script type="module" src="https://cdn.jsdelivr.net/gh/libasoles/ascii-tabs@0.10.
|
|
65
|
+
<script type="module" src="https://cdn.jsdelivr.net/gh/libasoles/ascii-tabs@0.10.6/ascii-tabs.js"></script>
|
|
58
66
|
|
|
59
67
|
<ascii-tabs></ascii-tabs>
|
|
60
68
|
```
|
|
@@ -401,7 +409,7 @@ E|-----3-|</pre>
|
|
|
401
409
|
The copy button copies the same plain ASCII. `parse` and `format` are exported as pure functions:
|
|
402
410
|
|
|
403
411
|
```js
|
|
404
|
-
import { parse, format } from 'https://cdn.jsdelivr.net/gh/libasoles/ascii-tabs@0.10.
|
|
412
|
+
import { parse, format } from 'https://cdn.jsdelivr.net/gh/libasoles/ascii-tabs@0.10.6/ascii-tabs.js';
|
|
405
413
|
|
|
406
414
|
const tab = parse('1 -3--5-\n2 ------\n3 ------\n4 ------\n5 ------\n6 ------'); // one Tab: Column[]
|
|
407
415
|
format(tab, { spacing: 2 }); // "1 -3--5-\n2 ------\n..."
|