Skip to contents

Style a message based on the role of its author.

Usage

style_chat_message(message, ide_colors = get_ide_theme_info())

Arguments

message

A chat message.

ide_colors

List containing the colors of the IDE theme.

Value

An HTML element.