godot-rust / book

Documentation and tutorials for gdext, the Rust bindings for Godot 4
Mozilla Public License 2.0
16 stars 30 forks source link

GDScript syntax highlighting #27

Open Bromeon opened 8 months ago

Bromeon commented 8 months ago

It would be nice to have ```gdscript code tags. We currently use ```php for some, which works somewhat due to overlap in keywords, but it's not ideal 😀

The mdBook docs contain some more information on the topic; we would likely need our own highlight.js.

snatvb commented 3 months ago

I found https://github.com/highlightjs/highlightjs-gdscript Need to try Maybe I'll try later to integrate it