模板
使用的一些规范:
创建.md
文档
须在文档的开头加入下面的描述:
---
layout: post
title: "Some title"
categories: some category
img: image-name.jpg
---
注意,这里的图像必须都放在images
路径下,且尺寸为400x250 (800x500)。
表格:
| Tables | Are | Cool | |———-|:————-:|——:| | col 1 is | left-aligned | $1600 | | col 2 is | centered | $12 | | col 3 is | right-aligned | $1 |
按钮
默认 首要 成功 信息 警告 危险 链接
Large button Default button Small button
Jumbotron
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
视频
请观看西游记<iframe width="100%" height="360" src="https://www.bilibili.com/video/av243343066?t=399.9" frameborder="0" allowfullscreen></iframe>
提示
注意
这里展示了一个提示, 插入链接 consectetur et.
代码
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
如果需要返回首页,请点击这里.