Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 134 additions & 0 deletions packages/preview/flower-book/0.2.1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# 更新日志 Changelog

本项目所有重大变更均将记录于此文件中.

All notable changes to this project will be documented in this file.

该格式基于[变更日志规范](https://keepachangelog.com/en/1.1.0/),
且本项目遵循[语义化版本控制](https://semver.org/spec/v2.0.0.html)。

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 待发布 [Unreleased]

<details>

<!-- Write migration guide here -->

</details>

### 新增 Added

- [ ] 增加七种花之主题和一种混合主题
- [ ] `混合`主题
- [ ] 封面
- [ ] 正文
- [ ] `赤-红玫瑰`主题
- [ ] 封面
- [ ] 正文
- [ ] `橙-鹤望兰`主题
- [ ] 封面
- [ ] 正文
- [ ] `黄-向日葵`主题
- [X] 封面
- [ ] 正文
- [ ] `绿-绿石竹`主题
- [ ] 封面
- [ ] 正文
- [ ] `青-飞燕草`主题
- [ ] 封面
- [ ] 正文
- [ ] `蓝-蓝铃花`主题
- [ ] 封面
- [ ] 正文
- [ ] `紫-大花蕙兰`主题
- [ ] 封面
- [ ] 正文

### 更改 Changed

- [ ] 拆分floeer-book函数为一个主函数和许多小函数,小函数内放置各个部分/功能的具体实现代码,主函数内调用各个小函数并执行全局性代码

### 弃用 Deprecated

### 移除 Removed

### 修复 Fixed

### 安全 Security

## [0.1.0] - 2025-10-02

### 新增 Added

<!-- Describe the feature set of the initial release here -->

- 补完了typst官方模板
- 从AbyssBook项目中迁移了lib.typ

## [0.1.1] - 2025-10-02

### 更改 Changed

- 之前token权限设置错了,改一下

## [0.1.2] - 2025-10-02

### 更改 Changed

- 之前workflow里一不小心把目标仓库设置成了本仓库自己

## [0.1.3] - 2025-10-02

### 更改 Changed

- 之前toml里忘设置分类了

## [0.1.4] - 2025-10-02

### 更改 Changed

- 分类更新为Book,Layout

## [0.1.5] - 2025-10-02

### 更改 Changed

- 改为黑底白字,并使用变量管理文本和背景颜色

## [0.1.9] - 2025-10-02

### 更改 Changed

- 将部分设置分成了单独的函数

## [0.2.0] - 2025-10-02

### 更改 Changed

- 正在编写风格字典,但是好像不会字典

## [0.2.1] - 2025-10-02

### 更改 Changed

- 页码终于改好了

<!--
Below are the target URLs for each version
You can link version numbers (in level-2 headings)
to the corresponding tag on GitHub, or the diff
in comparison to the previous release
-->

[Unreleased]: https://github.com/CrossDark/FlowerBook/compare/v0.1.4...HEAD
[0.1.0]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.0
[0.1.1]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.1
[0.1.2]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.2
[0.1.3]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.3
[0.1.4]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.4
[0.1.5]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.5
[0.1.9]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.1.9
[0.2.0]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.2.0
[0.2.1]: https://github.com/CrossDark/FlowerBook/releases/tag/v0.2.1
21 changes: 21 additions & 0 deletions packages/preview/flower-book/0.2.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 跨越晨昏

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
69 changes: 69 additions & 0 deletions packages/preview/flower-book/0.2.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# The `FlowerBook` Package
<div align="center">Version 0.2.1</div>

A flower style template

## Template adaptation checklist

- [X] Fill out `README.md`
- Change the `my-package` package name, including code snippets
- Check section contents and/or delete sections that don't apply
- [X] Check and/or replace `LICENSE` by something that suits your needs
- [X] Fill out `typst.toml`
- See also the [typst/packages README](https://github.com/typst/packages/?tab=readme-ov-file#package-format)
- [X] Adapt Repository URLs in `CHANGELOG.md`
- Consider only committing that file with your first release, or removing the "Initial Release" part in the beginning
- [X] Adapt or deactivate the release workflow in `.github/workflows/release.yml`
- to deactivate it, delete that file or remove/comment out lines 2-4 (`on:` and following)
- to use the workflow
- [X] check the values under `env:`, particularly `REGISTRY_REPO`
- [X] if you don't have one, [create a fine-grained personal access token](https://github.com/settings/tokens?type=beta) with [only Contents permission](https://stackoverflow.com/a/75116350/371191) for the `REGISTRY_REPO`
- [X] on this repo, create a secret `REGISTRY_TOKEN` (at `https://github.com/[user]/[repo]/settings/secrets/actions`) that contains the so created token

Check warning on line 21 in packages/preview/flower-book/0.2.1/README.md

View check run for this annotation

Typst package check / @preview/flower-book:0.2.1

packages/preview/flower-book/0.2.1/README.md#L19-L21

GFM task lists are not supported on Typst Universe.

if configured correctly, whenever you create a tag `v...`, your package will be pushed onto a branch on the `REGISTRY_REPO`, from which you can then create a pull request against [typst/packages](https://github.com/typst/packages/)
- [ ] remove/replace the example test case
- [ ] (add your actual code, docs and tests)
- [ ] remove this section from the README

Check warning on line 26 in packages/preview/flower-book/0.2.1/README.md

View check run for this annotation

Typst package check / @preview/flower-book:0.2.1

packages/preview/flower-book/0.2.1/README.md#L8-L26

GFM task lists are not supported on Typst Universe.

## Getting Started

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.

```typ
#import "@preview/flower-book:0.2.1": *

#show: flower-book.with()
#my-func()
```

<picture>
<source media="(prefers-color-scheme: dark)" srcset="./thumbnail-dark.svg">
<img src="./thumbnail-light.svg">
</picture>

### Installation

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 and where to (maybe a link to the typst documentation on it), along with any pre-requisite software and installation steps.

```
$ First step
$ Another step
$ Final step

Check failure on line 51 in packages/preview/flower-book/0.2.1/README.md

View check run for this annotation

Typst package check / @preview/flower-book:0.2.1

packages/preview/flower-book/0.2.1/README.md#L51

Syntax error in README. unclosed delimiter If this code block is not supposed to be parsed as a Typst source,please explicitely specify another language.
```

## Usage

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.

```typ
#import "@preview/flower-book:0.2.1": *

#let my-complicated-example = ...

Check failure on line 61 in packages/preview/flower-book/0.2.1/README.md

View check run for this annotation

Typst package check / @preview/flower-book:0.2.1

packages/preview/flower-book/0.2.1/README.md#L61

Syntax error in README. expected expression If this code block is not supposed to be parsed as a Typst source,please explicitely specify another language.

Check failure on line 61 in packages/preview/flower-book/0.2.1/README.md

View check run for this annotation

Typst package check / @preview/flower-book:0.2.1

packages/preview/flower-book/0.2.1/README.md#L61

Syntax error in README. expected semicolon or line break If this code block is not supposed to be parsed as a Typst source,please explicitely specify another language.
```

## Additional Documentation and Acknowledgments

* Project folder on server:
* Confluence link:
* Asana board:
* etc...
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading