From e11b487e3ac79b288540452c8482374a078de4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 5 Sep 2023 15:55:45 +0200 Subject: [PATCH] notifications.md: clarify use of HTML in balloon notifications --- topics/user_interface_components/notifications.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/topics/user_interface_components/notifications.md b/topics/user_interface_components/notifications.md index 6bf1fe9fa..d3df2e56b 100644 --- a/topics/user_interface_components/notifications.md +++ b/topics/user_interface_components/notifications.md @@ -57,8 +57,7 @@ For UI reference, see [Balloon](https://jetbrains.design/intellij/controls/ballo The specific method used to display a notification is [`Notifications.Bus.notify()`](%gh-ic%/platform/ide-core/src/com/intellij/notification/Notifications.java). If the current Project is known, please use overload with `Project` parameter, so the notification is shown in its associated frame. -The text of the notification can include HTML tags. - +The text of the notification can include HTML tags for presentation purposes. Use `Notification.addAction(AnAction)` to add links below the content, use [`NotificationAction`](%gh-ic%/platform/ide-core/src/com/intellij/notification/NotificationAction.java) for convenience. The `groupId` parameter of the [`Notification`](%gh-ic%/platform/ide-core/src/com/intellij/notification/Notification.java) constructor specifies a notification type.