From f805295cc41792c404979e9266eafa9a3a272431 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Mon, 31 Jul 2023 23:07:00 +0200 Subject: [PATCH] Update docs --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0764bd2..895767e 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ names of which match the names of the social networks (or `copy-url`, for the + @@ -139,12 +140,13 @@ Apart from the URL and title, some networks support extra parameters: even possible - add `data-media` to an Odnoklassniki, Pinterest, or VK button to customize the pinned picture -- add `data-text` to a WhatsApp, Mastodon, Telegram, or Viber button to add +- add `data-text` to a Mastodon, Telegram, Tumblr, Viber, or WhatsApp button to add custom message text -- add `data-via` to a Twitter or Mastodon button to mention a user -- add `data-hashtags` to a Twitter or Facebook button to include hashtags in the shared post. - - Twitter supports multiple hashtags, and you need to specify them with out `#` and seperated with `,`, it shoule be something like this `ai,technologies,aigc`. - - Facebook only supports a single hashtag. If you pass multiple hashtags with `,` seperated, the library will only use the first one. +- add `data-via` to a Mastodon, Tumblr, or Twitter button to mention a user +- add `data-hashtags` to a Facebook, Tumblr, or Twitter button to include hashtags in the shared post. + - should be a comma-separated string, for example `stuff,tech,buttons` + - Twitter & Tumblr support multiple hashtags + - Facebook only supports a single hashtag; only the first one will be used Here are all custom parameters: @@ -154,6 +156,7 @@ Here are all custom parameters: Pin + Send