Skip to content

trivedigaurav/bhasha-quill

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Bhasha Quill

Bhasha Quill

A QuillJs plugin to write in Sanskrit with support for IAST, Devanagari, and more.

Demo

Demo

You can see a demo here, or check out this example repository.

Getting Started

Add npm dependency

npm install --save https://github.com/trivedigaurav/bhasha-quill

Or use your favorite package manager.

Import Quill module

import Bhasha from 'bhasha-quill';
Quill.register("modules/bhasha", Bhasha);

var quill = new Quill('#quill-container', {
    modules: {
        bhasha: {
            fromDropdown: '#bhasha-from',
            toDropdown: '#bhasha-to'
        }
    },
    theme: 'snow',
});

Pass the names of the from and to dropdowns to update the transliteration scheme as shown above.

Transliteration Schemes

This plugin supports Devanagari, IAST, ITRANS, and other schemes by Sanscript.js.

IAST Simplified

I have also included a simplified IAST scheme that can be used to edit Sanskrit documents using ASCII characters available on a standard keyboard. This fork of Sanscript.js is available from http://github.com/trivedigaurav/sanscript.js/.

About

A QuillJs plugin to write in Sanskrit with support for IAST, Devanagari, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published