metadata: add quotes syntax for titles
This commit is contained in:
parent
185318a70c
commit
51e8174689
5 changed files with 102 additions and 40 deletions
|
|
@ -67,7 +67,7 @@ It is a handy way to quickly turn code on and off.
|
|||
Try uncommenting this line by deleting `//` and refreshing the pattern.
|
||||
You can also use the keyboard shortcut `cmd-/` to toggle comments on and off.
|
||||
|
||||
You might noticed that some comments in the REPL samples include some words starting with a "@", like `@title` or `@license`.
|
||||
You might noticed that some comments in the REPL samples include some words starting with a "@", like `@by` or `@license`.
|
||||
Those are just a convention to define some information about the music. We will talk about it in the [Music metadata](/learn/metadata) section.
|
||||
|
||||
# Strings
|
||||
|
|
|
|||
|
|
@ -38,6 +38,12 @@ Or define multiple tags in one line:
|
|||
// @title Hey Hoo @by Sam Tagada @license CC BY-NC-SA
|
||||
```
|
||||
|
||||
The `title` tag has an alternative syntax using quotes (must be defined at the very begining):
|
||||
|
||||
```js
|
||||
// "Hey Hoo" @by Sam Tagada
|
||||
```
|
||||
|
||||
## Tags list
|
||||
|
||||
Available tags are:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue