Gitpitch 创建自定义颜色
Gitpitch creating custom colors
我正在开始创建一个 gitpitch 演示文稿,效果很好。
我想创建自定义颜色以便在演示文稿中使用它
但它不起作用。
在我现在正确添加的 custom.css 文件中,因为其中显示的其他内容我添加...
.myblue {
color: #65656c;
}
然后在 PITCHME.md 我添加...
@snap[west]
Create container<br>
@color[#65656c](singularity build)<br>
@color[myblue](Install software)<br>
@snapend
在这个例子中 "singularity build" 获得了正确的颜色,但 "install software" 没有。
有人有什么建议吗?
当您声明自定义样式时,例如 myblue
,您可以通过引用 class 来使用该样式,如下所示:
@snap[west]
Create container<br>
@color[#65656c](singularity build)<br>
@css[myblue](Install software)<br>
@snapend
请注意我是如何使用 @css
快捷语法来激活 安装软件 文本中的 myblue
class 的。您可以在文档 here. And you find specific examples using the @css
shortcut syntax right here.
中了解所有可用的 GitPitch markdown 快捷方式
我正在开始创建一个 gitpitch 演示文稿,效果很好。 我想创建自定义颜色以便在演示文稿中使用它 但它不起作用。
在我现在正确添加的 custom.css 文件中,因为其中显示的其他内容我添加...
.myblue {
color: #65656c;
}
然后在 PITCHME.md 我添加...
@snap[west]
Create container<br>
@color[#65656c](singularity build)<br>
@color[myblue](Install software)<br>
@snapend
在这个例子中 "singularity build" 获得了正确的颜色,但 "install software" 没有。
有人有什么建议吗?
当您声明自定义样式时,例如 myblue
,您可以通过引用 class 来使用该样式,如下所示:
@snap[west]
Create container<br>
@color[#65656c](singularity build)<br>
@css[myblue](Install software)<br>
@snapend
请注意我是如何使用 @css
快捷语法来激活 安装软件 文本中的 myblue
class 的。您可以在文档 here. And you find specific examples using the @css
shortcut syntax right here.