davfive / obsidian-jtab

jTab Guitar Codeblocks for Obsidian adds the ability to show guitar chords and tabs directly in your notes.
MIT License
69 stars 1 forks source link
obsidian-md

Guide for jTab Guitar Codeblocks

jTab Guitar Codeblocks adds the ability to show guitar chords and tabs directly in your notes.

It uses the jTab library to render the chords/tabs.

jTab codeblocks

Enhancements specific to jTab Guitar Codeblocks

  1. Supports multiple jTab lines per codeblock
    Each jTab line in a codeblock will be individually rendered. Blank lines will be ignored.

  2. Supports markdown in codeblocks
    Lines starting with `#<space>` (`# `) are rendered as markdown inside the rendered codeblock

  3. Fully customizable colors in settings
    Choose from Normal (black on white), Themed (follows your theme's colors), or set your own custom colors for background, lines, text, chord dots, and chord dot text. Try it out in settings.

  4. Quick access to jtab-examples
    Change any jtab codeblock language to jtab-examples (with your jTab still inside) and it will render the examples AND preserve your jTab when you go to edit it again.

  5. Quick access to jtab-chords chord list
    Change any jtab codeblock language to jtab-chords (with your jTab still inside) and it will render a list of available named chords you can use AND preserve your jTab when you go to edit again.

jTab Color Schemes

jTab colors are now fully customizable with a Live Preview available in settings. Classic for the old-school black on white look, Themed will follow your theme colors. Start with one of those and change one color or go crazy and mix 'em up yourself with Custom.

Color Settings Panel

Learning jTab

The jTab Home Page has a notation guide and plenty of examples.

You can put all of the examples from the jTab website directly into your notes by simply adding this:

```jtab-examples
```

jTab rendering caveats

Rendered jTab Examples

jTab with only chords

```jtab
E / / / A7 / B7 /
```

codeblock jtab chords

jTab with only tabs (haha)

```jtab
$4.7 $3.5 $2.5 $1.5 $1.7.$4.6 $2.5 $3.5 $1.7 | $1.8.$4.5 $2.5 $3.5 $1.8 $1.2.$4.4 $2.3 $3.2 $1.2 | $1.0.$4.3 $2.1 $3.2 $2.1 . $1.0 $2.1 $3.2 | $2.0.$3.0.$5.2 $2.1.$3.2.$5.0 $2.1.$3.2.$5.0 . $3.2.$5.0
```

codeblock jtab tabs

jTab with chords and tabs

```jtab
Bm $3 4 4h5p3h4 5 $2 3 5 7 7h8p7 5/7 ||
```

codeblock jtab

jTab examples codeblock

```jtab-examples
```

codeblock jtab-examples

Attributions

Community Support

Used by jTab Guitar Codeblocks

Used by jTab library