Ruby/Furigana Support #416
-
I think it would be great if we had support for ruby, or as it is called in Japanese furigana. Furigana are basically phonetic guide words that appear above written text, such as in the image below. On the r/learnjapanese community on Reddit, for a long time they had a syntax for furigana in Markdown that made a lot of sense to me. It looked like this,
I'm currently writing a presentation in Japanese, and it would be really helpful it furigana were supported. I know other languages use ruby/phonetic guides as well, so it would be potentially helpful even to those who aren't using Japanese. Though I guess I can just do it in inline HTML?
But that's kind of ugly and difficult to parse when editing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Marp's plugin architecture is just for that. You can add a custom furigana syntax to Marp by using markdown-it plugins: https://www.npmjs.com/search?q=markdown-it%20ruby You must use Marp CLI whenever using any plugins. Example:
|
Beta Was this translation helpful? Give feedback.
Marp's plugin architecture is just for that. You can add a custom furigana syntax to Marp by using markdown-it plugins: https://www.npmjs.com/search?q=markdown-it%20ruby
You must use Marp CLI whenever using any plugins.
Example:
markdown-it-ruby