Introduce cmarker/codly-based MD workflow, brutalist cover layout, and shared brand tokens so colleagues can author reports in report.md while the template handles PDF output. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
1.3 KiB
Markdown
23 lines
1.3 KiB
Markdown
# GreLin · Typst 文档模板
|
||
|
||
GreLin 内部 Typst 模板库,按文档类型分目录维护。目录结构如下:
|
||
|
||
| 文件夹 | 说明 | 入口文件 |
|
||
|--------|------|----------|
|
||
| [`resume/`](resume/) | 团队简历 | `cv.typ` |
|
||
| [`feasibility/`](feasibility/) | 可行性研究报告 | `report.typ`(正文编辑 `feasibility/content/report.md`) |
|
||
|
||
## 环境要求
|
||
|
||
- [VS Code](https://code.visualstudio.com/) 或 [Cursor](https://cursor.com/)
|
||
- 扩展:[Tinymist](https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist)(搜索 `Tinymist` 安装即可,已集成预览与导出,无需单独装 Typst CLI)
|
||
|
||
## 快速开始
|
||
|
||
1. 用 VS Code / Cursor 打开本仓库,打开要编辑的入口文件,例如 `resume/cv.typ` 或 `feasibility/report.typ`
|
||
2. 可行性报告正文在 `feasibility/content/report.md` 用 Markdown 编写,无需改 Typst 代码
|
||
3. 看效果(预览):`Ctrl+Shift+P` → 输入 `Typst Preview` → 回车;侧边会实时显示排版效果
|
||
4. 导出 PDF:`Ctrl+Shift+P` → 输入 `Typst Export PDF` → 回车;PDF 默认生成在同目录(如 `resume/sample.pdf`)
|
||
|
||
> 不熟悉 Typst?可参考社区维护的 [小蓝书(Typst 中文教程)](https://tutorial.typst.dev/);英文版见 [官方入门教程](https://typst.app/docs/tutorial/)。
|