
內容簡介
Ruby Markup Converter 是專為作者、編輯和檔案管理員設計的外掛,能夠自動將常見的 ruby 和 bouten 標記轉換為有效的 HTML 標籤,讓使用者無需手動重寫即可將文本檔案或手稿匯入 WordPress,保持原有寫作習慣。
【主要功能】
• 自動檢測並轉換標記為 HTML
• 支援多種 ruby 標記格式
• 提供管理設定界面選擇標記樣式
• 可選擇短碼轉換以提高安全性
• 適用於日本排版及其他標記格式
外掛標籤
開發者團隊
原文外掛簡介
Ruby Markup Converter lets you publish manuscripts written for online novel submission sites on WordPress using the ruby and bouten (emphasis dots) notation already in your text.
Copy and paste your manuscript from a text file into a Ruby Markup Converter block, or write directly in the block using the same notation. Supported notations are displayed as ruby annotations and bouten when readers view the post, without having to add each annotation again in the editor.
If you normally write directly in the WordPress editor and add ruby annotations one at a time, you may not need this plugin. WordPress 6.3 and later includes built-in support for adding ruby annotations in the block editor.
Ruby Markup Converter is primarily designed for Japanese typesetting and Japanese novel markup conventions, but the conversion itself is not limited to Japanese text. Any text that follows a supported markup pattern can be converted.
Place a Ruby Markup Converter block wherever markup conversion should apply. You can also enable conversion for the entire post content.
The plugin includes an admin settings screen where you can choose the conversion scope, enable or disable individual markup styles, and choose how bouten should be rendered.
Supported Markup Styles:
Ruby:
|BaseText《RubyAnnotation》
BaseText《RubyAnnotation》
BaseText(RubyAnnotation)
[[rb:BaseText > RubyAnnotation]]
#BaseText__RubyAnnotation__#
{{ruby|BaseText|RubyAnnotation}}
Bouten (Emphasis):
《《Emphasis》》
Usage
Using the Ruby Markup Converter block
Open a post or page in the block editor.
Add the Ruby Markup Converter block.
Paste your manuscript into a Paragraph block inside it, keeping the supported ruby and bouten notation as written. You can also type directly using the same notation.
Preview or publish the post to see the notation displayed as ruby annotations and bouten. In the editor, the notation remains as written.
Converting the entire post content
If you prefer to write markup directly in the post content without placing it inside Ruby Markup Converter blocks, open Settings > Ruby Markup Converter and set the conversion scope to Apply to Entire Post Content.
This also includes text inside Ruby Markup Converter blocks and [rubymaco]...[/rubymaco] shortcodes.
This mode is convenient for posts that are mostly written with ruby or bouten markup, but unintended text may also be converted. Long posts may also take more processing.
Documentation
For detailed instructions, examples, and troubleshooting, see the user guides:
English: Ruby Markup Converter User Guide
日本語: Ruby Markup Converter ユーザーガイド
