https://github.com/notation-fun/tabs
Templates for tabs in fun notation.
https://github.com/notation-fun/tabs
Last synced: 11 months ago
JSON representation
Templates for tabs in fun notation.
- Host: GitHub
- URL: https://github.com/notation-fun/tabs
- Owner: notation-fun
- License: cc0-1.0
- Created: 2021-12-26T11:04:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T09:57:13.000Z (about 4 years ago)
- Last Synced: 2025-02-15T02:18:18.875Z (about 1 year ago)
- Language: Rust
- Homepage: https://www.notation.fun
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fun Notation Tabs Template
This is a template for writing fun notation tabs.
Check the [main repository](https://github.com/notation-fun/notation) for more information.
## How to add new tabs
Just create new files in src folders, use [src/test.rs](src/test.rs) as an example.
## How to compile the tabs
Add the new file into [src/main.rs](src/main.rs), then run `cargo run` in the project root to generate tabs.
## Load tab source to viewer
Notation viewer's desktop version support loading the tab source file (e.g. test.rs) directly, there is a hidden requirement for this to work, the last statement in the file has to be the function to return Tab, check `src/test.rs` for an working example.