Package Information
- Last Updated
- Minimum Typst Version
- 0.13.0
- Authors
- Daniel Cancelas
- Categories
- text
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/codegds:0.1.02. Import in your Typst file
Add this to your .typ file:
#import "@preview/codegds:0.1.0": *codegds
GDscript syntax highlighting for Typst.
Installation
#import "@preview/codegds:0.1.0": gdscript-syntax
#set raw(syntaxes: gdscript-syntax)
```gdscript
func process_items(items: Array) -> void:
# Check if the array is empty
if items.is_empty():
print("No items to process")
return
# Process each item
for item in items:
print("Processing: ", item)
```
Credits
- Syntax patterns informed by dementive/SublimeGodot