Yihui Xie 4/27/2026

Preliminary Support for Typst in knitr

Read Original

This article by Yihui Xie introduces preliminary support for Typst in the knitr package, allowing users to create .Rtyp documents that combine Typst markup with R code chunks. It explains the basic workflow, including chunk syntax and inline R expressions, and provides installation instructions for the development version. The author also shares personal reflections on Typst's speed advantages for pure writing versus data analysis, and argues for HTML as a superior output format for most use cases due to its accessibility, hyperlinks, and responsive design. A custom JavaScript tool for paginating HTML is mentioned. The content is directly related to IT/technology, specifically R programming, document generation, and typesetting tools.

Preliminary Support for Typst in knitr

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet