Skip to content

[Enhancement] Extension scopes #609

Description

@iamgio

Before submitting

  • I am using the latest version of Quarkdown.
  • I have checked the wiki to confirm this feature doesn't already exist.
  • I have searched existing issues for duplicates.

Description

Should allow .extend in scopes to only act within that scope, including primitive extensions.

Proposed syntax or behavior

.if {yes}
    .extend {heading}
        .super foreground:{blue}

    # Blue

# Not blue

Additional context

No response

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions