Butterfly标签外挂
本文来自
行内文本样式 text
1 | {% u 文本内容 %} |
1 | 1. 带 {% u 下划线 %} 的文本 |
- 带 下划线 的文本
- 带
着重号 的文本 - 带
波浪线 的文本 - 带
删除线的文本 - 键盘样式的文本 command + D
- 密码样式的文本:
这里没有验证码
Note
1 | {% note [class] [no-icon] [style] %} |
参数名称 | 用法 |
---|---|
class | 【可選】標識,不同的標識有不同的配色( default / primary / success / info / warning / danger ) |
no-icon | 【可選】不顯示 icon |
style | 【可選】可以覆蓋配置中的 style(simple/modern/flat/disabled) |
1 | {% note 'fab fa-cc-visa' modern %} |
你是刷 Visa 還是 UnionPay
2021 年快到了….
小心開車 安全至上
這是三片呢?還是四片?
你是刷 Visa 還是 UnionPay
剪刀石頭布
前端最討厭的瀏覽器
Gallery 相冊圖庫
1 | <div class="gallery-group-main"> |
参数名称 | 用法 |
---|---|
name | 圖庫名字 |
description | 圖庫描述 |
link | 連接到對應相冊的地址 |
img-url | 圖庫封面的地址 |
1 | <div class="gallery-group-main"> |
Gallery 相冊
1 | {% gallery %} |
1 | {% gallery %} |
上标标签 tip
1 | {% tip [参数,可选] %}文本内容{% endtip %} |
参数名称 | 用法 |
---|---|
样式 | success,error,warning,bolt,ban,home,sync,cogs,key,bell |
1 | {% tip %}默认情况{% endtip %} |
默认情况
success
error
warning
bolt
ban
home
sync
cogs
key
bell
自定义 font awesome 图标
动态标签 anima
1 | {% tip [参数,可选] %}文本内容{% endtip %} |
- On DOM load(当页面加载时显示动画)
1 | {% tip warning faa-horizontal animated %}warning{% endtip %} |
- 调整动画速度
1 | {% tip warning faa-horizontal animated faa-fast %}warning{% endtip %} |
- On hover(当鼠标悬停时显示动画)
1 | {% tip warning faa-horizontal animated-hover %}warning{% endtip %} |
- On parent hover(当鼠标悬停在父级元素时显示动画)
1 | {% tip warning faa-parent animated-hover %}<p class="faa-horizontal">warning</p>{% endtip %} |
On DOM load(当页面加载时显示动画)
warning
ban
调整动画速度
warning
ban
On hover(当鼠标悬停时显示动画)
warning
ban
On parent hover(当鼠标悬停在父级元素时显示动画)
warning
ban
复选列表 checkbox
1 | {% checkbox 样式参数(可选), 文本(支持简单md) %} |
参数名称 | 用法 |
---|---|
样式 | plus, minus, times |
颜色 | red,yellow,green,cyan,blue,gray |
选中状态 | checked |
1 | {% checkbox 纯文本测试 %} |
单选列表 radio
1 | {% radio 样式参数(可选), 文本(支持简单md) %} |
参数名称 | 用法 |
---|---|
颜色 | red,yellow,green,cyan,blue,gray |
选中状态 | checked |
1 | {% radio 纯文本测试 %} |
时间轴 timeline
1 | {% timeline 时间线标题(可选) %} |
1 | {% timeline %} |
链接卡片 link
1 | {% link 标题, 链接, 图片链接(可选) %} |
1 | {% link 糖果屋教程贴, https://akilar.top/posts/615e2dec/, https://cdn.jsdelivr.net/gh/Akilarlxh/akilarlxh.github.io/img/siteicon/favicon.ico %} |
github 卡片 ghcard
1 | {% ghcard 用户名, 其它参数(可选) %} |
参数名称 | 用法 |
---|---|
hide | 隐藏指定统计 stars,commits,prs,issues,contribs |
count_private | 将私人项目贡献添加到总提交计数中 true |
show_icons | 显示图标 true |
theme | 主题 请查阅 Available Themes |
- 用户信息卡片
1 | | {% ghcard xaoxuu %} | {% ghcard xaoxuu, theme=vue %} | |
- 仓库信息卡片
1 | | {% ghcard volantis-x/hexo-theme-volantis %} | {% ghcard volantis-x/hexo-theme-volantis, theme=vue %} | |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 huoyou博客!
评论