Changelog, CLI fix

This commit is contained in:
binwiederhier 2023-07-09 07:50:00 -04:00
parent 68f82b9182
commit 2d1f2f319f
3 changed files with 3 additions and 2 deletions

View File

@ -96,7 +96,7 @@ func execPublish(c *cli.Context) error {
icon := c.String("icon") icon := c.String("icon")
actions := c.String("actions") actions := c.String("actions")
attach := c.String("attach") attach := c.String("attach")
markdown := c.Bool("attach") markdown := c.Bool("markdown")
filename := c.String("filename") filename := c.String("filename")
file := c.String("file") file := c.String("file")
email := c.String("email") email := c.String("email")

View File

@ -653,8 +653,8 @@ As of today, **Markdown is only supported in the web app.** Here's an example of
=== "ntfy CLI" === "ntfy CLI"
``` ```
ntfy publish \ ntfy publish \
mytopic \
--markdown \ --markdown \
mytopic \
"Look ma, **bold text**, *italics*, ..." "Look ma, **bold text**, *italics*, ..."
``` ```

View File

@ -1255,6 +1255,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release
**Features:** **Features:**
* Add support for [Markdown formatting](publish.md#markdown-formatting) in web app ([#310](https://github.com/binwiederhier/ntfy/issues/310), thanks to [@nihalgonsalves](https://github.com/nihalgonsalves))
* Add support for right-to-left languages (RTL) in the web app ([#663](https://github.com/binwiederhier/ntfy/issues/663), thanks to [@nimbleghost](https://github.com/nimbleghost)) * Add support for right-to-left languages (RTL) in the web app ([#663](https://github.com/binwiederhier/ntfy/issues/663), thanks to [@nimbleghost](https://github.com/nimbleghost))
**Bug fixes + maintenance:** **Bug fixes + maintenance:**