@yamlresume/core
    Preparing search index...

    Class JakeTypstRenderer

    Renderer for Jake's Resume template in Typst.

    This is the Typst port of the LaTeX Jake's Resume template (see renderer/latex/jake.ts), keeping the same visual design:

    • Centered header with contact info separated by |
    • Small caps section headings with a full-width horizontal rule
    • Two-row subheadings with left/right aligned columns
    • Compact lists for bullet points

    Hierarchy (View Summary)

    Index
    layoutIndex: number
    resume: Resume
    • Get the FontAwesome icon markup for a named icon.

      Icons are inlined as SVG images, so the Typst engine does not depend on Font Awesome fonts being installed on the system (or on TeX Live).

      Parameters

      • icon: string

        The icon name in FA_ICONS

      Returns string

      The Typst markup for the icon, or empty string if unknown

    • Get the preferred Noto CJK font regions for the resume language, in order of preference. CJK characters get the wrong glyph variants when rendered with the wrong regional font (e.g. Japanese kanji with an SC font), so pick the region matching the locale.

      Mirrors the logic of the LaTeX renderer's getCJKFontRegions.

      Returns string[]

    • Get OS-shipped CJK font families for a region.

      These are fallbacks for systems without Noto CJK installed. Typst's implicit fallback can otherwise pick a font with unusable vertical metrics: macOS resolves zh-hant-hk to Osaka, whose zero ascent/descent collapses the line height and makes adjacent lines overlap.

      Parameters

      • region: string

      Returns string[]

    • Accent color from the current layout's theme, if configured.

      Returns
          | "black"
          | "blue"
          | "burgundy"
          | "cerulean"
          | "green"
          | "grey"
          | "orange"
          | "purple"
          | "red"
          | `#${string}`

    • Render the font fallback list for #set text(font: ...).

      Typst picks the first available font in the list, so user-configured font families take precedence, followed by the Typst-bundled Libertinus Serif (the successor of Linux Libertine, the default font of the LaTeX templates), then Noto CJK fonts resolved per locale language, then the native CJK fonts shipped by the host OS.

      Returns string

    • Render text that may be linked to a URL.

      When showUrls is false and a URL is provided, the text is wrapped in a clickable link. Otherwise, the plain text is returned.

      Parameters

      • text: string

        The text to display

      • Optionalurl: string

        Optional URL to link the text to

      Returns string

      The text, optionally wrapped in a hyperlink

    • Render a URL in the URL position based on showUrls setting.

      When showUrls is true, returns the URL formatted as a link showing the raw URL text (analogous to LaTeX's \url). When showUrls is false, returns an empty string (the URL is hidden and should be rendered as a clickable link on the adjacent text via renderLinkedText instead).

      Parameters

      • url: string

        The URL to render

      Returns string

      The formatted Typst code, or empty string