.NET Standard 2.0
Install-Package Gem -Version
dotnet add package Gem --version
<PackageReference Include="Gem" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Gem --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Gem,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Gem as a Cake Addin
#addin nuget:?package=Gem&version=

// Install Gem as a Cake Tool
#tool nuget:?package=Gem&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The Gem library makes it easier to work with furigana text, particularly on web pages.

 Gem 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: 新[あたら]しい.

 Once you create a Gem, it is very easy to:
 - Display the HTML required to view furigana in the browser using the HTML ruby syntax
 - Extract the plain text without any furigana from Japanese text written in the gem syntax
 - Extract phonetic hiragana text from Japanese text written in the gem syntax

 The library includes a .NET and javascript implementation of the library.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 939 6/3/2018
1.0.6425.24805 772 8/4/2017
1.0.6420.38072 870 7/30/2017
1.0.6406.36758 874 7/16/2017
1.0.6406.24888 1,284 7/16/2017
1.0.5882.34168 1,169 2/8/2016
1.0.5768.26750 1,074 10/17/2015
1.0.5679.38134 1,128 7/20/2015

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 - added a javascript version of the library.
 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.
 03 June 2018 - Create a .NET standard version of the library.