This file contains hidden or 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
| // ==UserScript== | |
| // @name Google AI Studio 增强脚本 (等宽字体 + 标题同步) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description 集合了两个功能:1. 将 code 元素改为 Fira Code;2. 将浏览器标签页标题自动修改为当前对话标题。 | |
| // @author Rikka | |
| // @match https://aistudio.google.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
| // @grant GM_addStyle | |
| // ==/UserScript== |
This file contains hidden or 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
| // Path: %APPDATA%\marktext\themes\export | |
| .markdown-body { | |
| --base-size-4: 0.25rem; | |
| --base-size-8: 0.5rem; | |
| --base-size-16: 1rem; | |
| --base-size-24: 1.5rem; | |
| --base-size-40: 2.5rem; | |
| --base-text-weight-normal: 400; | |
| --base-text-weight-medium: 500; |
This file contains hidden or 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
| import time | |
| import sys | |
| import threading | |
| try: | |
| import keyboard # for hotkey / key events | |
| except ImportError: | |
| keyboard = None | |
| try: |