commonmark-spec icon indicating copy to clipboard operation
commonmark-spec copied to clipboard

Feature request: Furigana support

Open rainbyte opened this issue 9 years ago • 1 comments

It would be really useful to provide support for Furigana (a.k.a. html ruby notation).

When using anki I can write something like this:

漢[かん] 字[じ]

Some libraries (ex. showdown-kanji) provide this syntax:

{漢}(かん){字}(じ)

Denden markdown (a Japanese online editor) uses this:

{漢字|かん|じ}

And this is the HTML code which should be produced:

<ruby>漢<rt>かん</rt>字<rt>じ</rt></ruby>

Thanks in advance!

rainbyte avatar Nov 01 '16 00:11 rainbyte

Just for the record, related discussion on Discourse: Proper ruby text (<rb>) syntax support in Markdown

Crissov avatar Dec 07 '18 15:12 Crissov