# 目录
# 官方指南
https://v2.vuepress.vuejs.org/zh/guide/markdown.html#链接 (opens new window)
# 注意事项
- 文件名不能带#
- title不能带#
- 会出现目录错乱
- 目录名需要区分大小写 侧边栏插件 map: {} 时会出现无法辨识目录别名问题
- 推荐目录全部用小写
# 实用插件
- Vuepress Plugin Auto Sidebar
# 个人博客 vuepress 提交批处理
- 推送p.bat
@echo off
set /p c= git comment(不要有空格,n退出):
if %c%==n goto exitcmd
echo on
call npm run build # 生成静态文件
@Rem call git init
call git add -A
call git commit -m %c%
call git push https://gitee.com/xxxx/xxxx.git master:gh-pages-src
cd docs/.vuepress/dist
call git init
call git add -A
git commit -m %c%
call git push -f https://gitee.com/xxxx/xxxx.git master:gh-pages
cd ../../../
start chrome.exe https://gitee.com/XXXX/XXXX/pages
:exitcmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
set /p c= git comment(不要有空格,n退出):
if %c%==n goto exitcmd
echo on
call npm run build # 生成静态文件
@Rem call git init
call git add -A
call git commit -m %c%
call git push https://gitee.com/xxxx/xxxx.git master:gh-pages-src
cd docs/.vuepress/dist
call git init
call git add -A
git commit -m %c%
call git push -f https://gitee.com/xxxx/xxxx.git master:gh-pages
cd ../../../
start chrome.exe https://gitee.com/XXXX/XXXX/pages
:exitcmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 嵌入视频
vuepress使用iframe组件嵌入bilibili视频 (opens new window)
← STM32 blockly&scratch →