From 53b651e405d5e4e4e431359bd21b3c64e6977ecf Mon Sep 17 00:00:00 2001 From: Jakob Peters Date: Mon, 20 May 2024 16:08:30 -0700 Subject: [PATCH] List `show_typst` methods implemented in v0.1.0 --- HISTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HISTORY.md b/HISTORY.md index 26e14d1..a35ffb1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,7 @@ ### Strings - `show_typst` prints a value in Typst format, with Julia settings and Typst parameters given in an `IOContext` + - Implemented for `AbstractChar`, `AbstractFloat`, `AbstractMatrix`, `AbstractString`, `AbstractVector`, `Bool`, `Complex`, `Irrational`, `Nothing`, `OrdinalRange{<:Integer, <:Integer}`, `Rational`, `Regex`, `Signed`, `StepRangeLen{<:Integer, <:Integer, <:Integer}`, `Text`, and `TypstString` - `show(::IO, ::MIME"text/typst", ::Any)` provides default settings to `show_typst` - `Mode` is a setting that specifies the current Typst context - `TypstString` is an `AbstractString` implementing the `String` interface and uses `show(::IO, ::MIME"text/typst", ::Any)` to print values to Typst format