Skip to content

Simplify Public API with a Macro for Text Styling #17

@Syaw0

Description

@Syaw0

The goal is to create macro that take input of text and styles and make them
in this way we can have straightforward and easy public api to use.

this is how we can use macro:

println!("Greeting Mr {}",styled!("Sam", "red,bg,green,fg,rapid_blink");)

Motivation: This approach is more concise and easier to use than chaining methods, but it also introduces complexity in handling errors and grammar corrections.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestnew versiontodoTasks that need to be completed or implemented.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions