-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
374e931
commit 2efce77
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: 提交博文的方法 | ||
tags: 标签 | ||
categories: 分类 | ||
date: 2025-02-14 16:56:20 | ||
top: | ||
--- | ||
|
||
## 1.安装nodejs ## | ||
|
||
windows <上网搜不掩饰了> | ||
mac 安装brew,然后输入 | ||
```bash | ||
brew install nodejs npm | ||
npm install hexo-cli -g | ||
``` | ||
iOS在`App Store`内安装ish应用 | ||
```bash | ||
apk update | ||
apk add bash nodejs npm | ||
npm install hexo-cli -g | ||
apk upgrade | ||
``` | ||
安卓安装[Termux]()输入 | ||
```bash | ||
pkg update | ||
pkg upgrade | ||
pkg install nodejs npm | ||
npm install hexo-cli -g | ||
``` | ||
|
||
## 2.创建博文 ## | ||
在之前下的终端里输入 | ||
```bash | ||
hexo init blog | ||
cd blog | ||
``` | ||
再次输入`hexo new '博文名称'` | ||
创建博文 | ||
|
||
使用Markdown语法编写`/blog/source/_posts/博文名称.md`的文件 | ||
|
||
## 3.私信李子上传博文 ## |