Skip to content

Add an optional function for custom formatting #17

@ChrisCinelli

Description

@ChrisCinelli

I would like to be able for example to display ok in green in {"status": "ok"} and error in red in {"status": "error"}.

I think we could have an optional format field in config with a callback that has value and type as arguments. The return value can alter the output (maybe adding a CSS class).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions