Skip to content

Implement functional variant of the styled macro #42

Closed
@tecosaur

Description

@tecosaur

I think it would be rather nice to be able to take a "styled representation" (e.g. {magenta:hey}) and transform it to an AnnotatedString as the styled"" macro does, but with a function.

This would require a major refactor to stylemacro.jl, and I think we'd want to chop out the code-evaluation related functionality from the functional form, but I think it would be worth having.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions