IDEA博客模板
tbghg

我自己是用hexo写博客的,categories是直接创建了对应的目录,不同目录下放对应分类,例如这个文件就在source\_posts\技术\杂项\IDEA博客模板.md

每次创建时都需要手动填写categories,并且要加上code_block_shrink: false让代码默认不折叠,就想着干脆创建个IDEA的模板吧

1
2
3
4
5
6
7
8
9
10
11
12
---
title: ${title}
code_block_shrink: false
date: ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}:${SECOND}
categories:
#set($trimmedDir = $DIR_PATH.replace("source/_posts/", ""))
#set($segments = $trimmedDir.split("/"))
#set($segment = "")
#foreach($segment in $segments)
- ${segment}
#end
---

image

image

 评论
评论插件加载失败
正在加载评论插件