So, like many readers here, I find myself tiring of the endless "I did the thing" posts about creating a new editor. Often these editors implement already available features, or the author is evasive about their use of AI. I though I would share my experience that has recently resulted in the creation of another Typst editor.
I teach engineering at a public university, and our legal team has decided that all course documents must pass all the accessibility standards due to changes in the interpretation of the ADA. I don't want this discussion to dwell on this, but the reality is that I am obligated to make all my class documents compliant. At the time I was working in LaTeX (not directly; we'll get back to that), and realized that I had a pretty big problem on my hands. After taking inventory of all the packages I used at the time, I realized that it would be easier to move my documents from LaTeX to Typst for compliance than to start over on the formatting. Typst itself has been wonderful, and I continue to enjoy it as a document building tool.
Editing the documents in the Kate editor with Tinymist as the LSP has been good. No major complaints. I've managed to get my files converted and fully compliant (at least to the standards I'm held to). Only recently, I found myself creating a large new file instead of converting existing documents. It was at this point that I started to wish for LyX again. It makes writing LaTeX much more like writing than coding, and for this task I prefer that interface. It is not a word processor, nor is it a code editor. LyX is something else, and I felt its absence sorely.
Enter the AI... As an engineering instructor, I'm expected to teach my students how to use AI (really just LLMs and other generative AI tools) both responsibly and productively. Since it wasn't exactly part of my education, I need to gain experience. I also have a school account with OpenAI to use ChatGPT (and Copilot too, but I have found it far less useful). My request started simply enough: build an editor based on the text widget from Tkinter in Python to directly edit Typst files. After that, I incrementally guided the creation of a tool that is legitimately useful to me. The LLM is really dumb, and I have repeatedly been forced to take a direct guidance role with it in development. The alternative is no specialized editor, since I certainly don't have time to do this myself, even if I do have the knowledge and programming skills.
I have no plans to share this editor. There is no github page. I don't expect this to be used by more than myself and one other colleague, and that is actually the most interesting aspect of this whole experience to me. Is the code good? I don't think so. Does it work well enough to be useful to me and speed up my work? Absolutely.
As it stands, TyX is a pretty useful and limited LyX clone for Typst. Unlike LyX, TyX uses raw Typst code, since I always thought LyX was a little too distinct from the LaTeX engine it used. It can edit files and partially render the interesting bits (figures, tables, equations, and any command you put in a list). I don't expect to convince anybody. I pretty sure the only thing I want out of this is to start a discussion on an interesting experience I've had.
When I was writing my final dissertation on cryptography for my cs degree at uni, I found it quite difficult to keep track of the masses of versions of code snippets I had accumulated.
The thing is that all the code for my project was already under Git version control. On GitHub I could just use a permalink like this:
I messed around a bit and itâs pretty doable to get information in and out of the typst wasm with an extension. Why donât people extend the editor this way and build full ground up thingies from scratch?
I would like to introduce YAMLResume here as it be helpful for some people.
In one word, yamlresume allows people to write/maintain resumes in YAML and get latex/typst/html/docx output in one shot.
yamlresume typst jake template
Here's a sample resume that can generate latex/typst/html/docx/markdown output from one input source file:
# yaml-language-server: $schema=https://yamlresume.dev/schema.json
---
content:
basics:
name: Andy Dufresne
headline: Headed for the Pacific
phone: "(213) 555-9876"
email: hi@ppresume.com
url: https://ppresume.com/gallery
# All summary fields supports a limited rich text capabilities in markdown
# syntax:
#
# - bold, (e.g, `**bold**`)
# - italic, (e.g, `*italic*`)
# - ordered list, unordored list and nested sub list
# - links (e.g, `[link](https://ppresume.com)`)
summary: |
- Computer Science major with strong foundation in data structures, algorithms, and software development
- Pixel perfect full stack web developer, specialised in creating high-quality, visually appealing websites
- Experiened in databases (SQL, NoSQL), familiar with server-side technologies (Node.js, Express, etc.)
- Team player, with detail-oriented mindset and a keen eye for design and user experiences
location:
address: 123 Main Street
city: Sacramento
region: California
country: United States
postalCode: "95814"
profiles:
- network: Line
url: https://line.com/PPResumeX
username: PPResumeX
- network: Twitter
url: https://twitter.com/PPResumeX
username: PPResumeX
education:
- institution: University of Southern California
url: https://www.cs.usc.edu/
# Valid degree options:
#
# - 'Middle School'
# - 'High School'
# - 'Diploma'
# - 'Associate'
# - 'Bachelor'
# - 'Master'
# - 'Doctor'
degree: Bachelor
area: Computer Engineering and Computer Science
score: "3.8"
# Should be a valid date string that can be parsed by `new Date(dateStr)`
# in JavaScript, eg. '2020-01', '2020-02-03', 'Jul 1, 2023' etc.
#
# The date part would be removed in the final output as most of the time
# people won't really care about the exact date for your working
# experience or education background, etc.
# ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date
startDate: Sep 1, 2016
# Leave endDate blank to indicate "Present"
endDate: Jul 1, 2020
courses:
- Discrete Methods in Computer Science
- Programming Language Concepts
- Data Structures and Object-Oriented Design
- Operating Systems
- Computer Architecture
- Database Systems
- Computer Networking
- Introduction to the Theory of Computing
summary: |
- Developed proficiency in programming languages such as Java, C++, and Python
- Gained hands-on experience in software development through various projects and assignments
- Strong communication and teamwork skills acquired through group projects and presentations
work:
- name: PPResume
url: https://ppresume.com
startDate: Dec 1, 2022
endDate:
position: Senior Software Engineer
summary: |
- Developed and implemented efficient and scalable code, ensuring high-quality and maintainable web applications
- Collaborated with cross-functional teams to gather project requirements and translate them into technical solutions
- Conducted thorough testing and debugging to identify and resolve any issues or bugs in the software
- Actively participated in code reviews, providing valuable feedback to improve code quality and adherence to best practices
- Mentored and guided junior developers, fostering a collaborative and growth-oriented team environment
keywords:
- Scalability
- Growth
- Quality
- Mentorship
- name: PPResume
url: https://ppresume.com
startDate: Sep 1, 2020
endDate: Dec 1, 2022
position: Software Engineer
summary: |
- Created reusable React components to ensure code efficiency and maintainability
- Integrated with RESTful APIs to fetch and display dynamic data on the frontend
- Implemented client-side routing using React Router for smooth navigation between pages
- Actively participated in Agile development methodologies, attending daily stand-up meetings and sprint planning sessions
keywords:
- RESTful
- React
- Agile
languages:
- language: English
# Valid language fluency options:
#
# - 'Elementary Proficiency'
# - 'Limited Working Proficiency'
# - 'Minimum Professional Proficiency'
# - 'Full Professional Proficiency'
# - 'Native or Bilingual Proficiency'
fluency: Native or Bilingual Proficiency
keywords:
- TOEFL 110
- IELTS 7.5
- language: Chinese
fluency: Elementary Proficiency
keywords: []
skills:
- name: Web Development
# Valid level options:
#
# - 'Novice'
# - 'Beginner'
# - 'Intermediate'
# - 'Advanced'
# - 'Expert'
# - 'Master'
level: Expert
keywords:
- Python
- Ruby
- CSS
- React
- JavaScript
- name: DevOps
level: Intermediate
keywords:
- Python
- Kubernetes
- Docker
- Shell
- Ansible
- name: Design
level: Intermediate
keywords:
- Sketch
- Figma
- Photoshop
awards:
- title: Dean's List
awarder: University of Southern California
date: Oct 2016
summary: |
Awarded to students who achieve a high academic standing by maintaining
a specified grade point average (GPA) during a semester.
certificates:
- name: AWS Certified Developer - Associate
url: https://aws.amazon.com/certification/
issuer: AWS
date: Mar 2021
publications:
- publisher: ACM Transactions on Interactive Intelligent Systems
url: https://dl.acm.org/journal/tiis
name: Enhancing Human-Computer Interaction through Augmented Reality
releaseDate: Dec 2017
summary: |
- Explores the potential of augmented reality (AR) in improving interaction between humans and computers
- Highlights benefits of AR in various areas such as gaming, education, healthcare, and design
- Discusses challenges and future directions of AR technology in enhancing user experience
references:
- name: Dr. Amanda Reynolds
phone: "(555) 123-4567"
relationship: Computer Science Professor
email: amanda.reynolds@usc.edu
summary: |
Andy Dufresne shows exceptional problem-solving skills and a solid
understanding of programming concepts, he would bring immense value to
any team or organization he becomes a part of.
projects:
- name: EduWeb
url: https://www.eduweb.xyz/
description: A web-based educational platform for interactive learning
startDate: Sep 2016
endDate: Dec 2016
summary: |
- Designed to enhance online learning experiences
- Facilitates students' engagement and collaboration through interactive features and user-friendly interface
- Offers a wide range of courses across various subjects
- Aims to improve the way students learn through the power of the web
keywords:
- Education
- Online Learning
- HCI
interests:
- name: Sports
keywords:
- Soccer
- Swimming
- Bicycling
- Hiking
- name: Music
keywords:
- Piano
- Guitar
volunteer:
- organization: USC Computer Science and Engineering Society
url: https://www.usccsesociety.org/
position: Tech Mentor
startDate: Sep 2015
endDate: Jul 2023
summary: |
- Volunteered as a Tech Mentor at USC Computer Science and Engineering Society
- Provided guidance and assistance to fellow students in their technical projects and coursework
- Assisted in organizing workshops, coding competitions, and networking events for the society members
- Contributed to fostering a collaborative and supportive environment within the student community
locale:
# Use `yamlresume languages list` to get the list of supported languages
language: en
layouts:
- engine: html
# Use `yamlresume templates list` to get the list of available templates
template: calm
typography:
# HTML engine only supports font size in px unit, from 14px to 20px
fontSize: 16px
advanced:
showAnchors: true
# Whether to show network icons in the rendered document
showIcons: true
- engine: latex
# Use `yamlresume templates list` to get the list of available templates
template: moderncv-banking
advanced:
fontspec:
numbers: Auto
# Whether to show network icons in the rendered document
showIcons: true
# Whether to show raw URLs instead of hiding them behind linked text
showUrls: true
page:
margins:
top: 2.5cm
bottom: 2.5cm
left: 1.5cm
right: 1.5cm
showPageNumbers: false
# a4 or letter
paperSize: a4
typography:
# LaTeX engine only supports 10pt, 11pt, 12pt
fontSize: 10pt
links:
# Whether to underline links in the rendered document
underline: false
- engine: docx
# Use `yamlresume templates list` to get the list of available templates
template: calm
page:
margins:
top: 2.5cm
bottom: 2.5cm
left: 1.5cm
right: 1.5cm
showPageNumbers: false
# a4 or letter
paperSize: a4
typography:
# docx engine only supports 10pt, 10.5pt, 11pt, 11.5pt, 12pt
fontSize: 10pt
# Valid line spacing options:
#
# - 'tight'
# - 'snug'
# - 'normal'
# - 'relaxed'
# - 'loose'
lineSpacing: normal
links:
# Whether to underline links in the rendered document
underline: false
advanced:
# Whether to show raw URLs instead of hiding them behind linked text
showUrls: true
# Whether to show network icons in the rendered document
showIcons: true
- engine: markdown
- engine: typst
# Use `yamlresume templates list` to get the list of available templates
template: jake
advanced:
# Whether to show network icons in the rendered document
showIcons: true
# Whether to show raw URLs instead of hiding them behind linked text
showUrls: true
page:
margins:
top: 2.5cm
bottom: 2.5cm
left: 1.5cm
right: 1.5cm
showPageNumbers: false
# a4 or letter
paperSize: a4
typography:
# Typst engine only supports 10pt, 11pt, 12pt
fontSize: 10pt
# Valid line spacing options:
#
# - 'tight'
# - 'snug'
# - 'normal'
# - 'relaxed'
# - 'loose'
lineSpacing: normal
links:
# Whether to underline links in the rendered document
underline: false
This project has been maintained for 1.5 years and recently started to support typst as the new engine. Previously, it relied exclusively on LaTeX for PDF generation. You can now generate both LaTeX and Typst source files from a single YAML resume, which can then be compiled into separate PDFs (named resume.tex.pdf and resume.typ.pdf, respectively). Typst is lightweight and fast; the official Docker image now includes Typst 0.15.1, requiring no additional installation.
The first available Typst template is "jake"âa port of the clean, ATS-friendly "Jake" design. It supports localized terminology, Markdown summaries, accent colors, icons, and CJK font fallback, as the pic shows above.
Here is an full example for the typst layout configuration:
- engine: typst
# Use `yamlresume templates list` to get the list of available templates
template: jake
advanced:
# Whether to show network icons in the rendered document
showIcons: true
# Whether to show raw URLs instead of hiding them behind linked text
showUrls: true
theme:
colors:
accent: orange
page:
margins:
top: 2.5cm
bottom: 2.5cm
left: 1.5cm
right: 1.5cm
showPageNumbers: false
# a4 or letter
paperSize: a4
typography:
# Typst engine only supports 10pt, 11pt, 12pt
fontSize: 10pt
# Valid line spacing options:
#
# - 'tight'
# - 'snug'
# - 'normal'
# - 'relaxed'
# - 'loose'
lineSpacing: normal
links:
# Whether to underline links in the rendered document
underline: true
The typst engine support a series of customization options, including:
typography, font family and font size, line spacing, link style
page margins, page numbers
paper size
icons toggle
theme accent colors
etc.
For example, here is the same resume template with accent color set to blue:
YAMLResume typst jake template with blue accent color
Hopefully this project can helps for people who looks for resume templates with typst here.
typwire is a library for typed data exchange between Typst and (Rust) WASM plugins. Pass Typst values such as lengths, colors, gradients, dates and dictionaries to a plugin and get them back as the same Typst values.
Derive Typwire next to Serde's derives to send your own structs across the boundary. Fields can use typwire's native types, so a Length field arrives in Typst as a real length.
I kept running into cases where I needed to batch-generate certificates, event badges, and packing slips from CSV/Excel filesâbut every online tool either charged per PDF or required uploading names/addresses to their servers.
So I put together a client-side runner powered by Typst WASM:
- Runs 100% locally in the browser (you can even test it with Airplane Mode on)
- Enforces CSP `connect-src 'none'` with a built-in self-test so zero bytes leave the tab
- Parses CSV/TSV/XLSX/JSON locally and bundles PDFs into a ZIP via JSZip
- Handles multi-script text (e.g. Thai + EU diacritics) and 1-up / 4-up / 8-up layouts
You can try it directly on the page with up to 10 rows without creating an account:
I made a desktop editor for Typst called Grammata. It's native: Rust and egui, no Electron, no webview. The Typst compiler is embedded as a crate, so you don't need the typst CLI installed.
It's an early version (v0.1.0) and I'm sure it has rough edges. What it does today:
- Live preview of the real PDF. Only the visible pages are rasterized, and the previous render stays on screen until the new one arrives.
- Syntax highlighting from typst-syntax, autocompletion, search, go to line and an outline.
- A problems panel that jumps to the line, also in included files.
- Panels you can drag and split.
- A symbol and structure palette, snippets with placeholders, and a scratchpad for equations.
- Plugins. External programs, like Pandoc, only run if you allow them.
It's only been tested on Linux (GNOME, Wayland). Windows is built in CI but nobody has run it, and there's no macOS package. It also can't open a file passed as a command-line argument yet.
About AI: I built this with a lot of help from an AI coding assistant (Claude Code). I decide what it should do and test it on my machine, but a large part of the code was written by the assistant. If that matters to you, better to know before trying it.
GPL-3.0-or-later. Typst is a tis an independent project.
I made a dev container that ships Typst, Pandoc, and Rust preinstalled with locked versions. I kept running into version drift and setup time across machines, so this gives the same toolchain everywhere. Clone the repo, click Reopen in Container in VS Code, and run typst compile. It also works in GitHub Codespaces, and Pandoc is there for converting LaTeX, Markdown, or Word into Typst.
I built Basira Vision, an open-source Python CLI designed to take a scanned book (PDF without a text layer), extract and translate it page-by-page, and compile the result into a clean, print-ready A5 book using Pandoc + Typst.
The CLI is split into three decoupled steps with intermediate Markdown files:
basira ocr book.pdf â extracts structured markdown per page using a vision model (Gemini API protocol or any local vision model via gateway).
basira translate book.md --target-language russian â translates page-by-page using a sliding-window context.
basira typst book_translated.md â compiles the translated markdown into an A5 typeset book using Pandoc with an integrated Typst template.
Why Typst instead of LaTeX?
For automated pipelines, LaTeX error recovery and font setup are often fragile. Typst gives fast compilation, predictable layout rules, and easy template customization:
Automatically handles title page, table of contents, running headers, and page numbering out of the box.
Preserves footnotes and heading structure extracted from the OCR/translation pass.
Easily customizable: running basira export template dumps the default Typst template locally so you can tweak margins, fonts, and layout rules for your own print format.
Modular & Resumable
Between steps you get plain markdown with <!-- Page N --> markers so you can manually review or adjust formatting before compiling. Each step saves after every page, and --resume only processes failed or missing pages.
Prompts currently ship for Arabic, Chechen, English, French, German, and Russian.
Feedback on the Typst template and layout defaults is very welcome!
Tola SSG is a static site generator that is quite popular. However it has its own CLI which leads to more setup. I have written some sites with typst bundle before, even achieving Tailwind CSS (see the typhoon package) with pure Typst (using state). I found that I can write almost everything I need for a *static* site - documentation, blog etc. - with pure Typst, including styling, PDF export, and a11y. Most importantly, labels can be shared between contexts and pages in the bundle target! The bundle target isn't perfect, and I have opened some feature requests. Still, it is enough for most of my needs.
I think there are some reasons to stick to Tola
- Full access to HTML/CSS/JS
- Tailwind (which is doable via Typst + wasm)
- ability to run custom scripts on processed html (you can also write a shell script that does the same?)
But at the end of the day it is a separate CLI, and most of its features seem achievable via pure Typst plus a postprocessing script.
Typst 0.15.1 was written in Rust and its open source. But according to documentation it wasn't written by Claude Opus but by ordinary human programmers. From a technical point of view its possible to ask a large language model to take a look at typst and its behavior and rewrite the code from scratch in Rust. So the original codebase isn't needed but a new codebase gets created.
A possible advantage is that the AI generated code is more efficient, needs less lines of code and has some new features like LaTeX like paragraph justification and some new templates.
The page is in german, so probably not relevant for most of you, but I just wanted to share my appreciation for typst. EDIT: I've added English as a language option, as well as international holidays and school breaks!
The app I've built lets users select a calendar template, then customize it (orientation, theme) and add holiday information based on the federal state, and then receive a linked PDF file that fits their needs and can be used in note-taking apps like Goodnotes.
I tried a similar thing with both LaTeX and HTML some time ago, but never got to a result I was satisfied with. But with typst, the whole generation is easy, fast and the end product feels polished.
I added a link if, by any chance, you speak German and are interested in this project.
Feel free to ask me questions about it! I really love generating PDF files that fit a specific need. In the past, I also built an exam generator for maths exams (no more A+B tests but A-Z tests!), which never got used except for learning for my own exams, but was also quite a fun project.
Hi everyone! NASApunk is a blog theme for Tola, a static site generator built on Typstâs HTML export. Layouts, components, figures and posts are all written in pure Typst, in the NASApunk style, with a day and a night theme.
A while ago I asked here which features you'd like in a native macOS editor for Typst (previous post).
I'm not quite sure where to start, but I'll just dive right in. Right now, the editing engine behind the app is almost finished. It took far more work than I expected: months, not weeks (I wanted something really stable, and get a lot of inspiration from panda engine from bear/lettera app).
But I have few questions:
I use Typst 0.15.1, but I'm planning a per-project option to preview and export with any typst binary you choose (an older release or your own build), and a check that tells you whether a project is safe to move to a newer version. But I'm not quite sure if it's enough or if you are looking for something more.
I have seen some people requesting Vim, but I don't use Vim myself. Would basic modal editing (I don't know which one, I'd need to learn it a bit) be enough, or is it full Vim experience or nothing?
Another thing about the engine. It is a Rust library with a small C interface, and the macOS app is written in Swift on top of it. For other platforms, I thought about releasing it as open source under AGPL so people would be able to build app for platform I don't cover. They would need their own front end (drawing and text input), but the engine itself would carry over. Would it be interesting or you don't care at all?
So I discovered Typst earlier this year and got hooked. Currently writing my PhD thesis using it and I'm super happy I made that call. It may not have been the quickest way to a finished document (having to learn a new language and writing a template and all that) but it was certainly the more fun one.
Last week, I gave a talk at my lab introducing Typst (and the thesis template I built). The slides are up on GitHub. Take a look if you're interested and feel free to reuse or fork them if you have some colleagues/friends to convince still. They are MIT licensed. The presenter notes have a lot more detail per slide to make the presentation somewhat self-contained.
The repo comes with a scripted live demo showing the most important Typst features by building a research paper called "Just One More Plugin: On the Impact of Perpetual Tool Adoption on Dissertation Progress". There's a readme on how to use the demo.
Typesetter, the Typst editor for focused writing, gets its biggest update yet with version 0.16.
The headline feature is sandbox-compatible multi-file projects. Typesetter now uses a new default archive-based project format, .typz, that keeps your document and everything it references (images, imports, and other assets) together in a single file. Projects work the same wherever you open them, and theyâre easy to share and back up. Because Typesetter now only ever needs access to the files you explicitly open, never entire folders, multi-file Typst projects now work easily and reliably within the Flatpak sandbox.
A project can hold as many sub-files as you like, so you can split a long document into chapters or sections, keep reusable functions and styles in their own files, and bring everything together with #include and #import statements.
This replaces the previous âproject folderâ workflow, which was required to make imported files available to single-file .typ documents. That approach presupposed access to whole directories, which the sandbox is designed to prevent, and it was easy to get wrong. Removing it means there is now one secure, consistent way to include files in a document.
Typesetter can still open and edit standalone .typ documents, but they can no longer reference external files. To include assets in an existing document, open it and choose âSave As Projectâ when prompted, then add the files through the navigator.
Other noteworthy features include:
- GUI bibliography manager: You can now add and edit references through a dedicated graphical interface. - Adjustable preview pane: The preview pane can now be manually resized to suit your workflow. - Comments navigator: A new navigator lets you list, view, and jump directly to author comments throughout your document. - New templates: Typesetter now includes several additional templates to help you get started with new documents. (More to come.)
Since the previous release announcement, Typesetter has also gained advanced export to HTML and Markdown, making it easier to share documents in other formats.
There have also been a range of performance improvements, bug fixes, and smaller feature updates across the application, continuing Typesetterâs focus on being a fast, distraction-free writing environment.