godot-rust / book

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

GDScript syntax highlighting #27

Open Bromeon opened 10 months ago

Bromeon commented 10 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 5 months ago

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