nelsonpecora / craft-x-furigana

Furigana extension for Craft Docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Craft X Furigana

This is a simple extension that allows you to use furigana in your Craft documents.

To use it, wrap your text in curly brackets and separate the main text with the super-script text with a pipe, like so:

{元気|げんき}

You can use normal curly brackets and pipes, or the Japanese equivalents!

{元気|げんき}

Furigana is not just useful when writing in Japanese, it's also useful in English!

You can also select the text you want to add furigana to, then click a button in the extension and add your furigana.

Building

Simply run npm install and than npm run build to generate the .craftX file which can be installed. You can use npm run dev to test and debug in your local environment

To learn more about Craft eXtensions visit the Craft X developer portal.

About

Furigana extension for Craft Docs


Languages

Language:JavaScript 47.9%Language:TypeScript 34.2%Language:CSS 13.0%Language:HTML 4.9%