一万个冬天以后是一万个春天,一万次离别以后是一万次相见,或许过往已无可溯洄,但好在还有可以与你相遇的明天。

我不应当失败,所以如今我最好奇的是,抵达胜利的路是否坎坷。

用 Claude 做了一个自动爬取 arXiv 论文的 Skill,有待进一步的优化

Bayes 研讨会

开了一天的贝叶斯研讨会。可以适当考虑在量子精密测量传感中使用贝叶斯方法。

如何发布一篇 Thinking

什么是 Thinking?

Thinking(随想)是一种区别于正式博客文章的轻量内容形式——适合随手记录想法、短笔记、一闪而过的灵感。所有 Thinking 会集中展示在 /thinking/ 页面,按时间倒序排列,每篇显示完整正文,支持关键词搜索。

三步发布一篇 Thinking

1. 创建 Markdown 文件

source/_posts/Thinking/ 目录下新建 .md 文件,文件名随意(建议用有意义的英文名,例如 my-thought.md)。

2. 填写 frontmatter

在文件最开头写上:

1
2
3
4
5
6
7
8
9
---
title: 可选的标题
date: 2026-05-17 14:30:00
thinking: true
tags:
- 可选标签
---

正文从这里开始...

关键字段说明:

字段 必填? 说明
thinking: true 唯一必须的标记,没有它文章不会出现在 Thinking 页面
title 不写标题时,页面只显示日期时间作为标识
date 发布时间,格式 YYYY-MM-DD HH:mm:ss,决定排序
tags 标签,可选,会显示在卡片底部

3. 写正文然后部署

正文就是普通的 Markdown,支持标题、列表、代码块、链接等所有标准语法。写完保存后,运行:

1
2
hexo generate
hexo deploy

自定义正文最大行数

每个 Thinking 卡片的正文默认最多显示 10 行,超出后会出现滚动条,保持页面整洁。

如果你想修改这个限制,编辑 source/css/thinking.css,找到 .thinking-card-body 中的这一行:

1
max-height: 18em;           /* 10 lines × 1.8 line-height; increase to show more */

计算方法:max-height = 你想显示的行数 × 1.8。例如:

  • 显示 15 行 → max-height: 27em;
  • 显示 20 行 → max-height: 36em;
  • 想取消限制 → 直接删除 max-heightoverflow-y: auto 两行

修改后重新生成即可生效:

1
hexo generate

提示

  • 短内容更适合 Thinking——太长会被折叠需滚动查看
  • 无标题的随想更适合纯碎片的记录——比如一句话的想法或一个链接分享
  • 搜索框支持实时筛选,输入关键词即可在所有随想中过滤

Sometimes a thought doesn’t need a title. It’s just a fleeting idea, a quick note, or a passing observation.

The thinking page handles this gracefully — when there’s no title, it simply shows the date and time as the identifier.

My First Thought

This is a quick thought I wanted to share. Unlike a full blog post, this is a casual micro-post.

The Thinking page shows the complete content inline, making it perfect for short-form thoughts, notes, and quick updates.

  • No need for a formal structure
  • Just write and publish
  • Everything shows up on the thinking page in chronological order
avatar
TaLEsCuber
A self-entertaining learning site
公告
本站为本人学习笔记与网络资料整理,如有错漏,欢迎指正!
问题请联系 daiph@mail2.sysu.edu.cn
随想

一万个冬天以后是一万个春天,一万次离别以后是一万次相见,或许过往已无可溯洄,但好在还有可以与你相遇的明天。

查看全部随想
最新文章
网站资讯
文章数目 :
26
已运行时间 :
本站总字数 :
23k
本站访客数 :
本站总访问量 :
最后更新时间 :