Enabled syntax highlighting extension
Posted: Fri Jun 06, 2025 1:20 pm
I have enabled a phpBB extension that should provide syntax highlighting for code blocks.
It tries to automatically detect the language, and doesn't seem very good at recognizing Lua... so I'll see if I can nudge it the right way.
Code: Select all
-- Example code
data:extend({
{
type = "string-setting",
name = "my-mod-always-difficult",
setting_type = "runtime-global",
default_value = "yes",
allowed_values = {"yes", "no"}
},
{
type = "bool-setting",
name = "my-mod-kill-player-on-entity-built",
setting_type = "runtime-per-user",
default_value = false
}
})