Shortcodes
时间:2022-07-25
本文章向大家介绍Shortcodes,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。
Admonition
biu biu biu.
{{% admonition note "I'm title!" false %}}
biu biu biu.
{{% admonition type="note" title="note" details="true" %}}
biu biu biu.
{{% /admonition %}}
{{% admonition example %}}
Without title.
{{% /admonition %}}
{{% /admonition %}}
biu biu biu.
{{% admonition abstract abstract %}}
biu biu biu.
{{% /admonition %}}
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
biu biu biu.
center, right, left
## default
![img](/path/to/img.gif "img")
{{% center %}}
## center
![img](/path/to/img.gif "img")
{{% /center %}}
{{% right %}}
## right
![img](/path/to/img.gif "img")
{{% /right %}}
{{% left %}}
## left
![img](/path/to/img.gif "img")
{{% /left %}}
figure with class
{{% figure src="/path/to/img.gif" title="default" alt="img" %}}
{{% figure class="center" src="/path/to/img.gif" title="center" alt="img" %}}
{{% figure class="right" src="/path/to/img.gif" title="right" alt="img" %}}
{{% figure class="left" src="/path/to/img.gif" title="left" alt="img" %}}
{{% center %}}
## hybrid in center
{{% figure src="/path/to/img.gif" title="default" alt="img" %}}
{{% figure class="right" src="/path/to/img.gif" title="right" alt="img" %}}
{{% left %}}
{{% figure src="/path/to/img.gif" title="default in left" alt="img" %}}
{{% /left %}}
{{% /center %}}
hybrid in center
Music 163
Params
-
id
- required param
- you can extract from music url
- url format http://music.163.com/#/song?id=28196554
- Fiddle
auto
- optional param
- default value 0
- you can overwrite it with 1
Examples
- Simple
{{% music "28196554" %}}
{{% music "28196554" "1" %}}
- Named Params
{{% music id="28196554" %}}
{{% music id="28196554" auto="1" %}}
- Example
{{% music "28196554" %}}
{{% music “28196554” %}}
- android viewgroup事件分发机制
- Rafy 领域实体框架示例(1) - 转换传统三层应用程序
- android view事件分发机制
- Rafy 领域实体框架演示(2) - 新功能展示
- ormlite介绍一
- 从Encoder到Decoder实现Seq2Seq模型(算法+代码)
- 【Java SE】Java NIO系列教程(六) Selector
- Rafy 领域实体框架演示(3) - 快速使用 C/S 架构部署
- Rafy 领域实体框架演示(4) - 使用本地文件型数据库 SQLCE 绿色部署
- spring 的OpenSessionInViewFilter简介
- Android TextView中文字通过SpannableString来设置超链接、颜色、字体等属性
- 【Java SE】Java NIO系列教程(三) Buffer
- android混淆
- 一步一步创建ASP.NET MVC5程序[Repository+Autofac+Automapper+SqlSugar](三)
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法
- 无锁队列的实现
- Go 单元测试和性能测试
- 01 . etcd简介原理,应用场景及部署,简单使用
- GO 单例模式
- 关于本博客皮肤样式配置
- 03 . Go开发一个日志平台之Elasticsearch使用及kafka消费消息发送到Elasticsearch
- GO 匿名函数和闭包
- Nginx升级加固SSL/TLS协议信息泄露漏洞(CVE-2016-2183)和HTTP服务器的缺省banner漏洞
- GO中间件(Middleware )
- TomcatAJP文件包含漏洞及线上修复漏洞
- golang new和make的区别
- Magicodes.IE之导入导出筛选器
- 界面酷炫,功能强大!这款 Linux 性能实时监控工具超好用!老斯机搞它!
- httprunner学习28-yaml文件 参数化读取 csv 文件字符串转 int
- 30个编程小技巧,提高代码性能