Skip to content

Commit 3a460b7

Browse files
authored
twilight-book:0.1.6 (#3636)
1 parent bbeb92f commit 3a460b7

File tree

19 files changed

+831
-0
lines changed

19 files changed

+831
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
original/.*
2+
docs/*.pdf
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# 更新日志 Changelog
2+
3+
本项目所有重大变更均将记录于此文件中.
4+
5+
All notable changes to this project will be documented in this file.
6+
7+
该格式基于[变更日志规范](https://keepachangelog.com/en/1.1.0/)
8+
且本项目遵循[语义化版本控制](https://semver.org/spec/v2.0.0.html)
9+
10+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
11+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
12+
13+
## 待发布 [Unreleased]
14+
15+
<details>
16+
17+
<!-- Write migration guide here -->
18+
19+
</details>
20+
21+
### 新增 Added
22+
23+
- [ ] 增加花卉主题
24+
25+
### 更改 Changed
26+
27+
- [ ] 拆分主函数为一个主函数和许多小函数,小函数内放置各个部分/功能的具体实现代码,主函数内调用各个小函数并执行全局性代码
28+
- [ ] 完善测试流程
29+
30+
### 弃用 Deprecated
31+
32+
### 移除 Removed
33+
34+
### 修复 Fixed
35+
36+
- [ ] 修复纯色背景的bug
37+
38+
### 安全 Security
39+
40+
## [0.0.0] - 2025-10-30
41+
42+
### 新增 Added
43+
44+
<!-- Describe the feature set of the initial release here -->
45+
46+
- 从FlowerBook项目中迁移
47+
- 完善主题设置
48+
- 增加主题设置函数
49+
50+
## [0.0.1] - 2025-11-10
51+
52+
### 新增 Added
53+
54+
<!-- Describe the feature set of the initial release here -->
55+
56+
## [0.0.2] - 2025-11-16
57+
58+
### 更改 Changed
59+
60+
主题设置改为csv
61+
62+
## [0.1.0] - 2025-11-16
63+
64+
### 更改 Changed
65+
66+
- 文本块改为递归缩进
67+
68+
### 新增 Added
69+
70+
- 增加左侧嵌套提示线
71+
72+
## [0.1.1] - 2025-11-22
73+
74+
### 新增 Added
75+
76+
- 增加前言页
77+
78+
## [0.1.2] - 2025-11-23
79+
80+
### 更改 Changed
81+
82+
- 新的book函数基本完成
83+
84+
## [0.1.3] - 2025-11-23
85+
86+
### 更改 Changed
87+
88+
- 完善模板配置
89+
90+
## [0.1.4] - 2025-12-03
91+
92+
### 更改 Changed
93+
94+
- 修复了一大堆问题
95+
96+
## [0.1.5] - 2025-12-08
97+
98+
### 更改 Changed
99+
100+
- 更新了README
101+
102+
## [0.1.6] - 2025-12-10
103+
104+
### 更改 Changed
105+
106+
- 完善了纯色背景
107+
108+
<!--
109+
以下是每个版本的目标URL:
110+
Below are the target URLs for each version
111+
You can link version numbers (in level-2 headings)
112+
to the corresponding tag on GitHub, or the diff
113+
in comparison to the previous release
114+
115+
以下是每个版本的目标URL
116+
您可以将版本号(位于二级标题中)链接至GitHub上的对应标签
117+
或链接至与前一版本的差异对比
118+
-->
119+
120+
[Unreleased]: https://github.com/CrossDark/TwilightBook/compare/latest...HEAD
121+
[0.0.0]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.0.0
122+
[0.0.1]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.0.1
123+
[0.0.2]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.0.2
124+
[0.1.0]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.0
125+
[0.1.1]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.1
126+
[0.1.2]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.2
127+
[0.1.3]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.3
128+
[0.1.4]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.4
129+
[0.1.5]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.5
130+
[0.1.6]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.1.6
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 跨越晨昏
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# The `TwilightBook` Package `晨昏之书`
2+
3+
<div align="center">Version 0.1.6</div>
4+
5+
A twilight style template,offers numerous light and dark themes.
6+
7+
晨昏主题模板,提供许多浅色和深色主题.
8+
9+
## Getting Started 入门
10+
11+
These instructions will get you a copy of the project up and running on the typst web app. Perhaps a short code example on importing the package and a very simple teaser usage.
12+
13+
这些说明将为您提供在typst网络应用程序上启动和运行的项目副本。也许是导入软件包的简短代码示例和非常简单的预告使用。
14+
15+
```typ
16+
#import "@preview/twilight-book:0.1.6": *
17+
18+
#show: book.with()
19+
20+
// 正文内容
21+
```
22+
23+
<!--
24+
<picture>
25+
<source media="(prefers-color-scheme: dark)" srcset="./thumbnail-dark.svg">
26+
<img src="./thumbnail-light.svg">
27+
</picture>
28+
-->
29+
30+
### Installation 安装
31+
32+
A step by step guide that will tell you how to get the development environment up and running. This should explain how to clone the repo, along with any pre-requisite software and installation steps.
33+
34+
一份逐步指南,将指导您如何搭建并运行开发环境。包括将代码克隆到本地
35+
36+
#### MacOS
37+
38+
```shell
39+
git clone https://github.com/CrossDark/TwilightBook.git "$HOME/Library/Application Support/typst/packages/local/twilight-book/0.1.6"
40+
```
41+
42+
#### Windows
43+
44+
<!--
45+
## Usage 使用说明
46+
47+
A more in-depth description of usage. Any template arguments? A complicated example that showcases most if not all of the functions the package provides? This is also an excellent place to signpost the manual.
48+
49+
更深入的使用说明。 包含复杂的示例,展示了软件包提供的大多数功能
50+
51+
```typ
52+
#import "@preview/twilight-book:0.1.6": *
53+
54+
// #let my-complicated-example = ...
55+
```
56+
57+
## Additional Documentation and Acknowledgments 附加文件和知识点
58+
59+
* Project folder on server:
60+
* Confluence link:
61+
* Asana board:
62+
* etc...

0 commit comments

Comments
 (0)