V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
xiaohanyu
V2EX  ›  分享创造

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

  •  
  •   xiaohanyu ·
    xiaohanyu · 15 天前 · 969 次点击

    Hey 各位好:

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

    @yamlresume/playground

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

    npm install @yamlresume/playground @yamlresume/core
    

    功能包括:

    • Monaco 编辑器( VS Code 同款),支持 YAML 语法高亮
    • 实时预览 HTML 、Markdown 、LaTeX 布局
    • 支持下载、复制、打印简历
    import { Playground } from "@yamlresume/playground"
    
    <Playground yaml={yaml} onChange={setYaml} />
    

    Demo:

    YAMLResume Playground

    官方体验: 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:

    后续:

    • 增加对 docx 的支持
    • 增加对 typst 引擎的支持
    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2846 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 14:49 · PVG 22:49 · LAX 07:49 · JFK 10:49
    ♥ Do have faith in what you're doing.