关于我

PROF1LE

CodeTime badge

兴趣/习惯是写代码。闲了喜欢整点小玩意玩。

游戏玩的不多,一直断断续续在玩的只有mc。

Homepage (zh) (in maintaince) | Blog | Blog (Pure)

xeonds's GitHub stats

xeonds's Most used languages

咱的项目

XDU-Planet

Gin+Vue构建的RSS博客聚合站

NanoOJ

使用Go+Vue+Docker实现的分布式OJ系统

Bus-Admin

数据库大作业,公交调度管理系统

Xync-Backup

Flutter练手作,复刻AutoSync。另外还有个用Flutter填坑的MCSM Panel,但是这东西用的不多也就没咋积极更新了

另外这个博客的发布也借助GitHub Action实现了自动化编译发布,详见这里我的workflow配置文件

极速纯文字版的博客使用了如下的指令实现:

1
2
3
4
5
6
7
8
9
10
gen:
rm -rf dist && mkdir -p dist && cp -r img dist
find ./_posts -type f -name "*.md" -exec sh -c 'pandoc "$$1" -s -o "./dist/$$(basename "$$1" .md).html" --mathjax' _ {} \;
pandoc -s -f markdown -t html --mathjax --metadata title="xero's blog" -o ./dist/index.html \
<(echo -e ">enj0y creating\n\n") \
./links/index.md \
<(echo -e "## toc\n") \
<(find ./_posts -type f -name '*.md' -printf '- [%f](%f.html)\n' | sed -e "s/\.md//g") \
./about/index.md \
<(echo -e "2024 | xero's blog | powered by pandoc")
作者

xeonds

发布于

2022-10-12

更新于

2024-05-13

许可协议

评论