A small go module to utilize Typst for PDF, SVG or PNG document/report generation.
Go to file
David Vogel 755cee77ac Several changes
- Make VariableEncoder write* methods private
- Add VariableEncoder method to write correctly escaped string literals
- Fix error handling in VariableEncoder
- Add support for time.Time and time.Duration
- Fix MarshalText usage in VariableEncoder
- Encode byte slice so that it is a valid typst bytes object
- Extend tests
- Add functions to clean and check typst identifiers
- Split Error into Error and ErrorWithPath
- Add CLIOptions
2024-12-18 17:25:28 +01:00
.vscode Initial commit 2024-12-01 15:03:28 +01:00
.gitignore Initial commit 2024-12-01 15:03:28 +01:00
cli_test.go Several changes 2024-12-18 17:25:28 +01:00
cli-options.go Several changes 2024-12-18 17:25:28 +01:00
cli.go Several changes 2024-12-18 17:25:28 +01:00
errors_test.go Several changes 2024-12-18 17:25:28 +01:00
errors.go Several changes 2024-12-18 17:25:28 +01:00
go.mod Several changes 2024-12-18 17:25:28 +01:00
go.sum Several changes 2024-12-18 17:25:28 +01:00
identifier_test.go Several changes 2024-12-18 17:25:28 +01:00
identifier.go Several changes 2024-12-18 17:25:28 +01:00
README.md Several changes 2024-12-18 17:25:28 +01:00
typst_unix.go Several changes 2024-12-18 17:25:28 +01:00
typst_windows.go Several changes 2024-12-18 17:25:28 +01:00
variable-encoder_test.go Several changes 2024-12-18 17:25:28 +01:00
variable-encoder.go Several changes 2024-12-18 17:25:28 +01:00

go-typst

A library to generate documents via typst.

Installation

Runtime requirements

Usage