不冷博客

Handsome编辑常用属性便捷记录点

便捷代码记录

编辑器中使用短代码高亮文本

效果:


[scode type="share"]这是灰色的短代码框,常用来引用资料什么的[/scode]
[scode type="yellow"]这是黄色的短代码框,常用来做提示,引起读者注意。[/scode]
[scode type="red"]这是红色的短代码框,用于严重警告什么的。[/scode]
[scode type="lblue"]这是浅蓝色的短代码框,用于显示一些信息。[/scode]
[scode type="green"]这是绿色的短代码框,显示一些推荐信息。[/scode]

//记得去掉这个(//)
[//scode type="share"]这是灰色的短代码框,常用来引用资料什么的[/scode]
[//scode type="yellow"]这是黄色的短代码框,常用来做提示,引起读者注意。[/scode]
[//scode type="red"]这是红色的短代码框,用于严重警告什么的。[/scode]
[//scode type="lblue"]这是浅蓝色的短代码框,用于显示一些信息。[/scode]
[//scode type="green"]这是绿色的短代码框,显示一些推荐信息。[/scode]

文章中插入按钮

[button]矩形按钮文字[/button]
[button color="succees"]矩形按钮文字[/button]
[button type="round" color="success"]椭圆形按钮文字[/button]
[button color="success" icon="glyphicon glyphicon-eur"]图标按钮文字[/button]

[button]矩形按钮文字[/button]
[button color="succees"]矩形按钮文字[/button]
[button type="round" color="success"]椭圆形按钮文字[/button]
[button color="success" icon="glyphicon glyphicon-eur"]图标按钮文字[/button]

说明:
type:选填,不填默认为矩形按钮。可选值:
round:椭圆形按钮
color: 选填,不填默认为success(绿色),可选值:
light:白色
info:蓝色
dark:深色
success:绿色
black:黑色
warning:黄色
primary:紫色
danger:红色
icon:选填,不填默认为文字按钮

插入收缩框

[collapse status="true" title="示例"]这里编辑收缩框内容[/collapse]
[collapse status="false" title="示例"]这里编辑收缩框内容[/collapse]

//记得去掉这个(//)
[//collapse status=""//true或者false title="示例"]这里编辑收缩框内容[/collapse]
[//collapse status=""//true或者false title="示例"]这里编辑收缩框内容[/collapse]

插入音乐

[hplayer title="歌曲名" author="歌手" url="http://m10.music.126.net/20201116004052/51f9124c646d38c575bf59f9066d1a4b/ymusic/0459/045c/520c/330c359473365e50a368ef0d43bc612f.mp3" size="large" auto="false" /]

[hplayer title="歌曲名" author="歌手" url="http:\/\/m10.music.126.net\/20201116004052\/51f9124c646d38c575bf59f9066d1a4b\/ymusic\/0459\/045c\/520c\/330c359473365e50a368ef0d43bc612f.mp3" size="large" auto="false" /]

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »