Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@phoenix-plugin-registry/brackets-rubify-text

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phoenix-plugin-registry/brackets-rubify-text

Wraps selected texts with <ruby> annotation tags to help make annotating Asian texts with furigana easier.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
2
Created
Source

Rubify Text

Rubify Text is a simple extension that wraps selected texts with <ruby> annotation tags to help make annotating Asian texts with furigana easier.

Preview

Usage

Rubifying Text

Select your text, then open the context menu (right click) and select "Rubify Text" to wrap your selected texts with <ruby> tags.

You can also use CTRL+ALT+T instead of using the context menu.

Result

Before RubifyingAfter Rubifying
時々<ruby>時々<rt></rt></ruby>

After rubifiying the text, all you need to do is fill in the <rt> annotations.

Derubifying Text

Select the text you want to convert from a <ruby> tag into plain text, then open the context menu and hover over "Derubify Text" to show a list of conversion options. Each option is listed below.

to <ruby> text

Converts the string into the text that is only inside of the <ruby> tag. (does not include <rt> texts)

Before DerubifyingAfter Derubifying
<ruby>時々<rt>ときどき</rt></ruby>時々

to <rt> text

Converts the string into the text that is only inside of the <rt> tag. (does not include <ruby> texts)

Before DerubifyingAfter Derubifying
<ruby>時々<rt>ときどき</rt></ruby>ときどき

to two strings

Returns two separate strings based on the two prior options separated by a bar |.

Before DerubifyingAfter Derubifying
<ruby>時々<rt>ときどき</rt></ruby>時々|ときどき

Keywords

ruby

FAQs

Package last updated on 10 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts