# Inline language markup? (language learning site)

**URL:** https://meta.discourse.org/t/inline-language-markup-language-learning-site/63582
**Category:** Feature
**Created:** [2017年五月29日 22:13 UTC](https://meta.discourse.org/t/inline-language-markup-language-learning-site/63582 "2017-05-29T22:13:21Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![rfindley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rfindley/32/71814_2.png) [@rfindley](https://meta.discourse.org/u/rfindley)
#### Post date: [2017年七月10日 20:55 UTC](https://meta.discourse.org/t/inline-language-markup-language-learning-site/63582/4 "2017-07-10T20:55:36Z")

</div>

One other tag set worth whitelisting is ‘ruby’ tags, which are a standard part of html for Japanese language support.

Since there are thousands of kanji (e.g. 漢字) in the Japanese language, Japanese students are still learning them all the way through high school. So, it is common for publications to use “furigana” to mark the pronunciation above kanji (see snapshot below from NHK News website).

 ![](https://global.discourse-cdn.com/meta/original/3X/0/a/0ad3166b4be05de3c77e9bb4ed9a7d499ce2c762.png)

The [W3C](https://www.w3.org/TR/ruby/) site has the following for a complete list of ruby tags:

```html
<ruby> </ruby>
<rbc> </rbc>
<rtc> </rtc>
<rb> </rb>
<rc> </rc>
<rp> </rp>

```

I can’t think of any risks to whitelisting, since they’re pretty straight foward.

Here’s an example of html and result (as an image):

```html
<ruby><rb>漢字</rb><rt>かんじ</rt></ruby>

```

![](https://global.discourse-cdn.com/meta/original/3X/5/0/5001ca4976f8ffb8ecb7233f663c2c12566b333f.png)

(Looks like font size might need to be set to 1.2em, as I’ve done in the sample text above)

---

_[View the full topic](https://meta.discourse.org/t/inline-language-markup-language-learning-site/63582)._
