import * as scrapboxUrlCustomizer from "https://raw.githubusercontent.com/takker99/scrapbox-url-customizer/main/mod.ts";
convert | URLもしくはURLを0個以上含んだテキストを変換する |
convertGyazoURL | GyazoのURLを画像にする |
convertScrapboxURL | scrapboxのURLを内部リンク記法に変える |
convertURL | URLを変換する |
expandShortURL | 各種の短縮URLを展開する |
formatTweet | tweetを展開する |
formatURL | URL先のデータを使って外部リンク記法にする関数を作る |
formatWikipedia | wikipediaのリンクを変換する |
redirectGoogleSearch | Googleの検索結果URLをリダイレクト先URLにする |
redirectWikiwand | wikiwandをwikipediaのURLにする |
shortenAmazonURL | AmazonのURLを短くする |
Middleware | URL変換用関数 |
TweetFormatter | tweetをscrapboxに書き込む際の変換format |