3 ms·
HTML Ruby Markup Extensions Working Draft Published
- cxr 2y agoSpotted an error in the draft: "an revised and extended".
- emehex 2y agoWell this is tremendously confusing. I 100% thought this was going to be 'ERB' related...
- tauchunfall 2y agoYeah, but it's probably unavoidable, the term "ruby" used in British typography is 200 years old [1]. *Update:* Oh and it's interesting, "rubi" was used but the W3C recommendation from 2001 made "ruby" more common as spelling. [1] https://en.wikipedia.org/wiki/Agate_(typography) https://en.wikipedia.org/wiki/Agate_(typography)
- deleted 2y ago[deleted]
- lioeters 2y ago> Ruby, a form of interlinear annotation, are short runs of text alongside the base text. They are typically used in East Asian documents to indicate pronunciation or to provide a short annotation. > This specification revises and extends the markup model established by HTML to express ruby. The posted link is a short announcement. Here are the actual specs: https://www.w3.org/TR/2024/WD-html-ruby-extensions-20240507/ https://www.w3.org/TR/2024/WD-html-ruby-extensions-20240507/
- jchw 2y agoFor those with some knowledge of the Japanese language, this is often used to display furigana in Japanese. I believe HTML Ruby derives from a once-proprietary Internet Explorer feature.
- thunderbong 2y agoFor those who were as confused as I was from the title - this has nothing to do with the Ruby language
- rubyfan 2y agoYeah I got excited for a second there.
- tauchunfall 2y agoVery nice to see some progress here. I think "CSS Ruby Annotation Layout Module Level 1" saw most work around 2013/2014, there are also specifications for ruby that are part of XHTML and HTML 5 standards. Even when ruby markup is popular with south-east asian scripts I mostly want to use it for interlinear text or textspan-level inline annotations for a software to learn languages. I remember with the ruby specified in XHTML standard there were ergonomic issues when ruby is written, i.e. it's nice for interlinear text markup to not have to close HTML tags. Also there were issues where people did not understand what the differences between mono ruby, group ruby and jukugo ruby is (correct me if I remember it wrong). Ruby seems to be not implemented well in browsers, some ruby-related tags were deprecated, the specification posted is part of the restoration of these tags [1]. But last time I checked there was interest of all major browser manufactors to implement ruby standard properly. [1] https://github.com/whatwg/html/pull/6478 https://github.com/whatwg/html/pull/6478
- _akhe 2y agoNot to be confused with Ruby the language. Thought this was going to mean like: <script type="ruby"> in a browser, which would be v interesting
- Alifatisk 2y agohttps://github.com/opal/opal?tab=readme-ov-file#compiling-ruby-code-from-html-or-using-it-as-you-would-with-inline-javascript https://github.com/opal/opal?tab=readme-ov-file#compiling-ru... :)
- Alifatisk 2y agoI've fallen for this before, I won't again.