Skip to content

Documentation: Fix incorrect statement about variable scope #13

@toonetown

Description

@toonetown

For example, I'd love to define all my localization strings as variables in a single file (strings.en.kit) and then be able to use them in the parent file (and every other file that the parent imports).

I think that the default behavior should be like it is right now, when you do <!-- @import page -->, but perhaps I suggest a <!-- @importGlobal page --> or something similar (perhaps even to ONLY allow variables when doing @importGlobal...and maybe the file format is just:

$var1: value1
@var2 = value2

Or call the command @importVars or something...I'm not too worried about syntax - I just think it might be nice to have a single include for importing all variables (at least the default values).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions