import * as scrapboxUrlCustomizer from "https://raw.githubusercontent.com/takker99/scrapbox-url-customizer/0.4.3/mod.ts";
convert | URLもしくはURLを0個以上含んだテキストを変換する |
convertGyazoURL | GyazoのURLを画像にする |
convertScrapboxURL | scrapboxのURLを内部リンク記法に変える |
convertURL | URLを変換する |
escapeForEmbed | scrapboxの記法と干渉する文字を取り除く |
expandShortURL | 各種の短縮URLを展開する |
formatTweet | tweetを展開する |
formatURL | URL先のデータを使って外部リンク記法にする関数を作る |
formatWikipedia | wikipediaのリンクを変換する |
redirectGoogleSearch | Googleの検索結果URLをリダイレクト先URLにする |
redirectWikiwand | wikiwandをwikipediaのURLにする |
shortenAmazonURL | AmazonのURLを短くする |
stringify | Converts a processed tweet or a tweet via /api/embed-text/twitter into a formatted string. |
uploadMedia | Uploads media to Gyazo or scrapbox.io and returns the URL of the uploaded media. If the upload fails, it returns the original media URL. |
Media | |
ProcessedTweet | 加工したTweet data |
Tweet | The response of |
TweetInfo | the response type of /api/embed-text/twitter |
TweetViaProxy |
Middleware | URL変換用関数 |
TweetFormatter | tweetをscrapboxに書き込む際の変換format |