Japanese Novel Ruby

by k-quels
5
4
3
2
1
Score: 36/100

Description

The Japanese Novel Ruby plugin displays and inserts ruby, or furigana, using a syntax common on Japanese novel sites such as Aozora Bunko and Shosetsuka ni Naro. It renders ruby while you edit, can show or hide ruby preview in source mode, and from version 1.2.0 can enable ruby only for notes with the enable_ruby: true property. You can also change the ruby marks for other formats, for example replacing 《》 with 【】. Its commands cover dialog based insertion, direct insertion in the editor, emphasis dots, ruby removal, hiding ruby until hover, and toggling source mode preview. The interface is available in English and several Chinese variants as well as Japanese. It does not support markdown ruby format, and half width | breaks ruby inside tables.

Reviews

No reviews yet.

Stats

stars
5,582
downloads
0
forks
7
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Japanese Novel Ruby Plugin for Obsidian

English | 日本語

Obsidian plugin for display & insert ruby(Furigana) ​​marks commonly used in Japanese novels.

The ruby syntax of this plugin is a format widely used by Japanese novel web sites, such as 「青空文庫」「小説家になろう」 and others.

Format example:

Input Text Rendered Ruby
長い|文章《ぶんしょう》 長い文章ぶんしょう
長い文章《ぶんしょう》 長い文章ぶんしょう
|傍《・》|点《・》 傍・点・

What you can do with this plugin

  • Edit documents while previewing ruby
    • Enable / disable ruby preview in source mode via plugin settings.
    • Ruby can be enabled for specific notes only. (Turn on the option and set the property "enable_ruby: true") (from ver. 1.2.0)
    • You can change the ruby marks for non-Japanese novel use. e.g. 《》 → 【】 (from ver. 1.2.0)
  • The user interface is available in English / Japanese / Simplified Chinese / Traditional Chinese.
  • Commands:
    • novel-ruby-insert : Show a dialog to insert ruby. Set selected text as body.
    • novel-ruby-insert-direct : Insert ruby marks directly in the editor without opening a dialog.
    • novel-ruby-insert-dot : Insert emphasis dots in selected text.
    • novel-ruby-remove : Remove all ruby marks from selected text.
    • novel-ruby-toggle-ruby-hidden : Toggle 'Hide ruby unless hover' setting.
    • novel-ruby-toggle-source-mode-render : Toggle 'Enable ruby preview in source mode' setting.

Limitations

  • Using the half-width pipe | as a ruby start delimiter inside tables will break the display.
    • If you want to use ruby inside tables, please make sure to use the full-width pipe .

See Also

This plugin doesn't support markdown ruby format.

If you want to use it, consider to use obsidian-markdown-furigana plugin.

Acknowledgments

Thanks to @steven-kraft. Part of the Ruby parsing code was inspired by obsidian-markdown-furigana plugin.

Thanks to @phibr0. The localization code is based on the obsidian-commander plugin.

Special thanks to @Moyf and @MinZe25 for their PRs and suggestions regarding the new features in ver. 1.2.0 and Simplified Chinese localization support!

Special thanks to @chungchungdev for the PR regarding Traditional Chinese localization support!

Support

If you like this plugin, please consider supporting my work. Thank you!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.