Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Allow for using aliases within scetch #1

Description

@TheBrenny

[[a= var is aliasVariableName ]]

Aliases would allow us to setup things like [[a= id is object.task.id]] and use the id "variable" throughout the rest of the scetch file.

This would be helpful because then our scetch files become a lot less about scetch and a lot more about the HTML code.

Ideally, this would be scoped to the block (like within an if/each/while block) or file (like components) so we don't accidentally have colliding aliases between files. Perhaps a global alias can be created with [[a= id as aliasVariableName !global ]] or something like that so we can access that variable across the entire scetch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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