用户手册
语法
0:00
以下是可以插入到行首,或用来包围单词和短语的字符,用于为你的和弦谱设置格式。
粗体
你可以在行首添加星号,或在行内选中的文字前添加星号来实现。
This <*word is bold> and this isn't.
*Or we can make the whole line bold.
斜体
你可以使用正斜杠字符来实现,如下所示:
/This whole line will be italic.
Or just the word </italic> will be.
强调
你可以用一个感叹号同时将文字设为粗体和斜体,如下所示:
!This line will be bold and italic.
Or <!just this phrase> will be.
下划线†
你可以使用下划线字符为文字添加下划线,如下所示:
_Underline the entire line of text...
Or just the <_thing you want> to.
反向倾斜†
这与斜体类似,但倾斜方向相反。你可以使用反斜杠来实现:
\This line will be backslanted.
Or make it only on <\certain words>.
文字颜色
你可以使用和号(&)来设置文字颜色,既可以使用颜色名称,也可以使用 HTML 颜色代码。例如:
&red:This line contains red text.
This <�C6B3:word is a custom color> that's like teal.
高亮颜色
你也可以使用类似的语法,通过大于号来高亮文字。
>yellow:This line will be highlighted in yellow
Or I'll have a <>#0000FF33:very light blue Christmas> without you by specifying opacity as the last hexadecimal value.
字体†
你可以通过指定字体名称来更改所用字体:
$Courier:This line will be in Courier font.
字号†
你还可以更改文字的大小。使用大于或等于 6 的数字,表示以磅为单位的字号。你也可以使用小于 6 的数字,表示基础字号的倍数。例如,“2”表示基础字号的 200%。
^2:This line is 200% the size of the other lines.
Make <^42:forty-two points> in size.
链接†
你可以在和弦谱中输入网址或 URL,OnSong 会自动识别并将其设置为链接。链接会以应用主题色加下划线显示,并会在应用内的 Safari 视图中打开,或作为视频播放器打开。你也可以在链接后用括号附上文字,作为标签来代替 URL 显示:
Make sure to https://www.youtube.com/watch?v=0kKDXgn16JY(watch this tutorial on YouTube).
† 需要 R2,即 OnSong 2024 中提供的全新渲染引擎。
2026.3 最后更新于 2024年7月18日