Skip to content

Nest other elements in <ruby> #968

@AlienKevin

Description

@AlienKevin

Describe your feature request

I'm making a Cantonese dictionary and would love some support for nesting bold text (<b>) and linked ruby section (<a><ruby>...</ruby></a>) in <ruby>. Here's a sample use case:

<ruby>
<b></b><rt>zung1</rt>
<b></b><rt>cau1</rt>
<b></b><rt>zit3</rt><rt>go2</rt><rt>zan6</rt>
<a href="燙火膏">
    <ruby><rt>tong3</rt><rt>fo2</rt><rt>gou1</rt>
    </ruby>
</a>
<rt></rt><rt>dak6</rt><rt>bit6</rt><rt>hou2</rt><rt>maai6</rt><rt></rt>
</ruby>

which would display as:

example ruby

version

flutter_html: 2.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions