Skip to content

Allow decoding things from bytes that can currently only be loaded from a path (resources) #2149

@mattfbacon

Description

@mattfbacon

Description

Currently raw.syntaxes is hard-coded to load from files. I would like it to be able to take a syntax directly.

Use Case

This would be more composable and cover a wider range of use cases, because people can always use read to emulate the old behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestscriptingAbout Typst's coding capabilities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions