Fornt Matter
---
title: Hexo & Markdown 语法 # 标题
tags: [Markdown, 教程]# 标签
date: 2024-12-11 09:55:00 # 时间
cover: images/Journey.jpg # 封面
photos: # gallery 相册
# 若未设置cover,则使用第一张图片作为封面
- images/Nichijou.jpg
- images/高松灯.jpg
- images/Kirby.jpg
- https://wallhalla.com/wallpaper/83/variant/preview/2xl
sticky: true # 置顶
# 关闭文章页的图片展示功能,在 gallery post 中设置为 false 才能正常显示
# 但是会影响图片的 title 显示
fancybox: false
---
Picture
- 设置 alt 和 title


- 设置大小
{height="100px" width="400px"}
{width="400px"}
{height="100px"}
{height=”100px” width=”400px”}
{width=”400px”}
{height=”100px”}
- gellery 相册
除了在Front Matter中设置,也可以通过以下方式实现需要在 Front Matter 中设置
fancybox: false,保证图片正常显示
## 图案列表 No.1




{.gallery}
## 图案列表 No.2




{.gallery data-height="120"}
图案列表 No.1




{.gallery}
图案列表 No.2




{.gallery data-height=”120”}
以上配置均来源于: https://shoka.lostyu.me/computer-science/note/theme-shoka-doc/display/