博客写作
📌博客写作技巧
博客写作
1. 标记
- 支持多彩标记标签,包括:默认红橙黄绿青蓝紫浅深 一共 10 种颜色。
- 这是
密码 标签 - 这是 下划线 标签
- 这是
着重号 标签 - 这是
波浪线 标签 - 这是
删除线标签 - 这是 上角标 标签
- 这是 下角标 标签
- 这是 键盘样式 标签,试一试:⌘ + D
2. 标签
color 可设置 red、orange、yellow、green、cyan、blue、purple、light、dark 9种值。
折叠标签
默认关闭的代码折叠框
代码块
卡片标签
链接 + 标题:
选框标签
是否开启选框:checked: true/false
颜色可选:color: red/orange/yellow/green/cyan/blue/purple
内部符号可选:symbol: plus/minus/times
复制标签
分栏标签

1 | let x = 123 |
| a | b | c |
|---|---|---|
| a1 | b1 | c1 |
| a2 | b2 | c2 |
导航栏标签
3. 时间线
2021 年 2 月 16 日
主要部分功能已经开发的差不多了。

2021 年 2 月 11 日
今天除夕。
4. 图片



图片轮播标签


📝 注意:博客封面图的规格是长:宽=2.43
5. 诗词格式
莫笑农家腊酒浑,丰年留客足鸡豚。
山重水复疑无路,柳暗花明又一村。
箫鼓追随春社近,衣冠简朴古风存。
从今若许闲乘月,拄杖无时夜叩门。
6. 引用
Dorothy followed her through many of the beautiful rooms in her castle.
The quarterly results look great!
- Revenue was off the chart.
- Profits were higher than ever.
Everything is going according to plan.
content
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
Every interaction is both precious and an opportunity to delight.
7. 代码
1 | code snippet |
1 | alert('Hello World!'); |
1 | [rectangle setX: 10 y: 10 width: 20 height: 20]; |
1 | array.map(callback[, thisArg]) |
1 | _.compact([0, 1, false, 2, '', 3]); |
1 | let x = 123 |
8. 表格
| Syntax | Description | Test Text |
|---|---|---|
| Header | Title | Here’s this |
| Paragraph | Text | And more |
9. 任务列表
- Write the press release
- Update the website
- Contact the media
10. 网址
Github上仓库的图片url格式:https://raw.githubusercontent.com/hiyann/yann/master/picture/xxx.jpg
10. 表情
⚠️ 警告: 不要按下大红色按钮!
📝 注意: 日出很美。
💡 提示: 记得珍惜生活中的小事。
✍ 书写: 记录闪念。

