Created
February 16, 2023 07:34
-
-
Save kotet/002404cd3656b874f4b13c46bdd27c95 to your computer and use it in GitHub Desktop.
機械翻訳にかけやすいように man7.org から余分な改行を取り除くブックマークレット
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: [...document.querySelectorAll("pre")].map(p => {p.innerHTML = "<p>" + p.innerHTML.replace(/\n\s*\n/g,"</p><p>").replace(/\n\s*/g," ")}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment