YAMLResume v0.11 发布: Playground 组件、doctor 命令及更多语言支持

3 月 6 日
 xiaohanyu

Hey 各位好:

上次 YAMLResume v0.10 发布过了一个月,YAMLResume v0.11 发布了,带来几个实用的新功能。

@yamlresume/playground

官方在线编辑器现在可以嵌入到自己的应用中了:

npm install @yamlresume/playground @yamlresume/core

功能包括:

import { Playground } from "@yamlresume/playground"

<Playground yaml={yaml} onChange={setYaml} />

Demo:

官方体验: https://yamlresume.dev/playground

多语言支持

新增日语和德语,现在共支持 8 种语言:英语、中文、西班牙语、法语、挪威语、荷兰语、日语、德语。

locale:
  language: ja  # 或 'de' 表示德语

字体定制

现在可以自定义 HTML 和 LaTeX 的字体:

layouts:
  - engine: latex
    typography:
      fontFamily: "EB Garamond"

LaTeX 引擎会检查字体是否存在,自动选用第一个可用的字体

升级方式:

npm install -g yamlresume@latest
# 或
brew upgrade yamlresume

另外,Arch Linux AUR 也收录了 YAMLResume:

后续:

1834 次点击
所在节点    分享创造
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1196237

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX