Last active
October 19, 2022 07:24
-
-
Save kojp/9e61bbc37b95c5042af0b209dc92df90 to your computer and use it in GitHub Desktop.
ウェブページの選択範囲(テキスト)とタイトルをLogseqに貼り付けるスタイルに整形するブックマークレット。Logseqのプラグイン“Paste More”と併用する必要があります。詳しい説明→ https://ich.hatenadiary.com/entry/logseq-bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () {var markdown = "[" + document.title + "](" + window.location.href + ")";var selection = window.getSelection().toString();ar = selection.split(/\n/);c = window.open();c.document.open();c.document.write(markdown + "<br />");for (j = 0; j < ar.length; j++) {c.document.write(" " + "- >" + ar[j] + "<br />");}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment