Upload to Hell Hole Studios Blog - Howto
By XGN from Hexo
Note: This article is for uploading to Hexo and is outdated (probably for now)
The HHS new blog has been deployed for almost half a year, yet there are still some people who don't know how to upload blog. Here's a tutorial & cheatsheet in case someone forgets.
The HHS blog is only available for HHS members. You can send me a mail if you want to write fan article there
Step 1
Prepare your md file:
# This is my blog
Hello :)
Add Pictures
You can use sm.ms or img.wang to upload photos and pictures
Add Tables
You can use this website to generate noob tables.
Add Mathjax
You need to use {% mathjax %}
before your mathjax and {% endmathjax %}
after your mathjax
You can also use this tool to quick replace: Tool. Install Python3, put your blog at in.txt
and run the code.
Step 2
Add front-matter. Here's a template:
---
title: Upload to Hell Hole Studios Blog - Howto
date: 2021-2-15 10:41:00
categories:
- Tip
tags:
- English
- XGN
---
Be sure to write your:
- creation time
- title
- category
- tags
- your name
- post language
so your blog should look like this:
---
title: Upload to Hell Hole Studios Blog - Howto
date: 2021-2-15 10:41:00
categories:
- Tip
tags:
- English
- XGN
---
# This is my blog
Hello :)
When using Typora
When using Typora, make sure there are no ```
before and after your front-matter! You can manually check it by opening markdown file in notepad
Step 3
Upload to Private Repo with proper name.
Use dash and avoid English special characters.
- BAD: source/_posts/2021.2.14 无想山游记 zky视角.md
- GOOD: source/_posts/20210214-无想山游记-zky视角.md
Step 4
Wait for several minutes for the Github action to work. If you see a × here, please report to administrator
版权声明:
作者:XGN
链接:https://blog.hellholestudios.top/archives/503
来源:Hell Hole Studios Blog
文章版权归作者所有,未经允许请勿转载。
共有 0 条评论