Allow reading configuration options from plugins
kattrali opened this issue · comments
Delisa commented
Plugins may need custom or default configuration options, and should be able to read them from the binding. Examples:
-- Read a string value
config_str("window.start-page")
config_site_str("stylesheet-path")
-- Read a bool value
config_bool("allow-plugins")
config_site_bool("allow-plugins")