From 9f8c63c7d5e5f0bc737d80b295336534ca80afb8 Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Sat, 8 Jul 2023 21:54:54 -0400 Subject: [PATCH] Docs etc --- docs/publish.md | 2 ++ web/src/components/Notifications.jsx | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/publish.md b/docs/publish.md index b20f66e6..b59d24ad 100644 --- a/docs/publish.md +++ b/docs/publish.md @@ -3597,6 +3597,7 @@ table in their canonical form. | `X-Actions` | `Actions`, `Action` | JSON array or short format of [user actions](#action-buttons) | | `X-Click` | `Click` | URL to open when [notification is clicked](#click-action) | | `X-Attach` | `Attach`, `a` | URL to send as an [attachment](#attachments), as an alternative to PUT/POST-ing an attachment | +| `X-Markdown` | `Markdown`, `md` | Enable [Markdown formatting](#markdown-formatting) in the notification body | | `X-Icon` | `Icon` | URL to use as notification [icon](#icons) | | `X-Filename` | `Filename`, `file`, `f` | Optional [attachment](#attachments) filename, as it appears in the client | | `X-Email` | `X-E-Mail`, `Email`, `E-Mail`, `mail`, `e` | E-mail address for [e-mail notifications](#e-mail-notifications) | @@ -3606,3 +3607,4 @@ table in their canonical form. | `X-UnifiedPush` | `UnifiedPush`, `up` | [UnifiedPush](#unifiedpush) publish option, only to be used by UnifiedPush apps | | `X-Poll-ID` | `Poll-ID` | Internal parameter, used for [iOS push notifications](config.md#ios-instant-notifications) | | `Authorization` | - | If supported by the server, you can [login to access](#authentication) protected topics | +| `Content-Type` | - | If set to `text/markdown`, [Markdown formatting](#markdown-formatting) is enabled | diff --git a/web/src/components/Notifications.jsx b/web/src/components/Notifications.jsx index e152cf20..d1cce0e8 100644 --- a/web/src/components/Notifications.jsx +++ b/web/src/components/Notifications.jsx @@ -15,8 +15,6 @@ import { IconButton, Box, Button, - useTheme, - ThemeProvider, } from "@mui/material"; import * as React from "react"; import { useEffect, useState } from "react";