Page 1 of 1

Enabled syntax highlighting extension

Posted: Fri Jun 06, 2025 1:20 pm
by Sanqui
I have enabled a phpBB extension that should provide syntax highlighting for code blocks.

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
    }
})
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.

Re: Enabled syntax highlighting plugin

Posted: Fri Jun 06, 2025 1:49 pm
by Amarula
Thank you! Not perfect but a good step in the right direction. Much appreciated.