The Gem library makes it easier to work with furigana text, particularly on web pages.
- Display the HTML required to view furigana in the browser using the HTML ruby syntax
- Extract phonetic hiragana text from Japanese text written in the gem syntax
- Extract the plain text without any furigana from Japanese text written in the gem syntax
The Gem library uses a simple syntax to encode furigana information in Japanese text. The text to be displayed in the furigana gem is simply included in square brackets following the character or group of characters it relates to. For example: 新[あたら]しい.
See the version list below for details.
Install-Package Gem -Version 1.0.6425.24805
dotnet add package Gem --version 1.0.6425.24805
<PackageReference Include="Gem" Version="1.0.6425.24805" />
paket add Gem --version 1.0.6425.24805
04 August 2017 - Made the gem.furigana.js file install into /script directory only.
30 July 2017 - improved the logic that parsers furigana to make sure furigana appears only over kanji characters.
16 July 2017 - Updated to split the gem when an honorific 'o' is encountered. Also handles spaces more consistently. Respects spaces, but collapses multiple ones.
This package has no dependencies.
This package is not used by any popular GitHub repositories.