Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use <ruby>? #150

Closed
thuraucsy opened this issue Aug 30, 2019 · 3 comments
Closed

Is there a way to use <ruby>? #150

thuraucsy opened this issue Aug 30, 2019 · 3 comments
Labels
enhancement New feature or request medium-priority
Milestone

Comments

@thuraucsy
Copy link

thuraucsy commented Aug 30, 2019

I wanna use like that

<ruby>
	明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp>
</ruby>

I have tried the following and didn't get the result as I expected, and when I look into the source code , there is no style written for the ruby yet.

HtmlRichTextParser(
	html: """<ruby>
		明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp>
	</ruby>""");
@Sub6Resources Sub6Resources added this to the Goals milestone Sep 11, 2019
@Sub6Resources Sub6Resources added enhancement New feature or request medium-priority labels Sep 11, 2019
@Sub6Resources
Copy link
Owner

Yeah, ruby should be on the list of partially supported elements. ruby is a super difficult element to translate into Flutter widgets. For now, it will render the text like normal, but the rp tags will also render, which is what happens on browsers that do not support ruby annotations.

I'll leave this open, since I do plan on officially supporting ruby annotations at some point.

@Larpoux
Copy link

Larpoux commented Nov 12, 2019

I really need a way to display Furigana (ruby tag). I hope that this feature will be available in a near future.

@Sub6Resources
Copy link
Owner

This has been fixed in version 1.0.0. See #122 for details on the progress of the 1.0.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium-priority
Projects
None yet
Development

No branches or pull requests

3 participants