改進 Greasy Fork,在標題旁顯示腳本圖示,新增 HTML 工具列以支援評論與描述,並在程式碼頁面提供按鈕,可直接下載 “.user.js” 檔案。同時透過中繼資料增強頁面,包含作者自訂的重點顏色、版權資訊與社交圖示等功能。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Translations into and added
Version 1.4 represents a major evolution from 1.3, shifting the focus from a Markdown-based editor to a full HTML editor. This update introduces new features, improves user interactivity, and offers much richer control over content formatting.
1. Migration from Markdown to HTML: The most significant change is the replacement of Markdown syntax with HTML syntax. While version 1.3 generated markups like **bold** and *italic*, version 1.4 now generates the corresponding HTML tags, such as <strong>bold</strong> and <em>italic</em>. This allows for more robust and web-compatible formatting.
**bold**
*italic*
<strong>bold</strong>
<em>italic</em>
2. Enhanced User Interface with Custom Dialog Boxes:
prompts
showCustomPrompt
showCustomAlert
3. New Features and Editing Tools:
<details>
<center>
<hr>
4. User Experience (UX) Improvements:
Tab
Shift + Enter
<br>
try-catch
New Functions:
showCustomAlert(message)
showCustomPrompt({ inputs, onConfirm })
showInfoModal()
Updated Functions (createTextStyleEditor):
createTextStyleEditor
##
<h1...6>
<ul>
<ol>
<li>
<blockquote>
prompt()
textarea
keydown
Fixing dependency issues
Significant visual improvements to the page