chore: 统一内置主题展示名称
This commit is contained in:
@@ -70,8 +70,8 @@ Desktop、HTML/PDF 与 DOCX 重复解释 Front Matter。
|
||||
配置。排队、探测、准备、主题样式、媒体、模板、Pandoc、校验和总耗时使用共享协议
|
||||
返回;关闭服务时会取消活动任务、拒绝排队任务并等待清理完成。
|
||||
|
||||
内置主题来自仓库 `themes/`,当前名称为 Typora Github、
|
||||
Typora Pixyll、Typora whitey 和 Typora Clean。额外主题从平台传入的
|
||||
内置主题来自仓库 `themes/`,当前名称为 GitHub、Pixyll、Whitey 和
|
||||
Clean。额外主题从平台传入的
|
||||
本地主题根目录扫描;与内置主题 ID 冲突时以内置主题为准。
|
||||
|
||||
## 开发与验证
|
||||
|
||||
@@ -4,10 +4,10 @@ import { describe, expect, it } from "vitest";
|
||||
import { docxThemeStyleSchema } from "@md-to-pdf/core";
|
||||
|
||||
const bundledThemeNames = {
|
||||
"typora-github": "Typora Github",
|
||||
"typora-pixyll": "Typora Pixyll",
|
||||
"typora-whitey": "Typora whitey",
|
||||
"typora-like": "Typora Clean",
|
||||
"typora-github": "GitHub",
|
||||
"typora-pixyll": "Pixyll",
|
||||
"typora-whitey": "Whitey",
|
||||
"typora-like": "Clean",
|
||||
"gov-red-standard": "政企红头·标准文件",
|
||||
"gov-red-letter": "政企红头·标准信函",
|
||||
"enterprise-red-simple": "政企红头·企业简版",
|
||||
|
||||
Reference in New Issue
Block a user