My other plugins
Logseq Furigana
Features
Choose if you want to modify your notes or not:
-
Slash command to transcribe from Markdown Furigana to HTML Ruby tags.
- Modifies your notes but you can read them without having the plugin installed.
-
Markdown rendering to show ruby tags without modifying your notes
- Just write something like
{ๆผขๅญ|ใใใ}
and it will show us as furigana
Parsers
- There are multiple ways of writing the ใตใใใชfurigana:
-
Round parentheses: An old classic:
ใใใฏ ๆผขๅญ๏ผใใใ๏ผใงใ
- โ ๏ธ Keep in mind that these are JAPANESE parentheses. You have to use your japanese input method.
-
Anki way: Like this
ใใใฏ ๆผขๅญ[ใใใ]ใงใ
-
Spectacle parentheses:
ใใใฏ ๆผขๅญใใใใใใงใ
-
Obsidian's plugin way, based on a markdown-it extension (recommended)
- Uses two brackets to enclose the whole compound:
ใใใฏ{ๆผขๅญ|ใใใ}ใงใ
- You might need to put an space to separate compounds.
- Use extra
|
to show the furigana of each kanji of the word:
ๆผขๅญ[ใใ|ใ] or {ๆผขๅญ|ใใ|ใ}
How to develop
- Clone the repository
- Make sure you have pnpm installed, install if necessary ๐
- Execute
pnpm install
๐ฆ
- Execute
pnpm build
to build the plugin ๐ง
- Enable developer-mode in Logseq, go to plugins, select "Load unpacked plugin" ๐
- Select the directory of your plugin (not the
/dist
-directory, but the directory which includes your package.json) ๐
- Enjoy! ๐
Acknowledgments