Skip to content

rtl support #15

@danbete

Description

@danbete

hi,
please add rtl support.
just add an option to lang
and dont do the reverse in lines 21 and 22;

// rtl support

if(dir === 'rtl' ){
lines = lines;
rawText = raw;
}
else{
// reverse to use lifo, because array.shift() will consume 0(n)
lines = lines.reverse();
rawText = rawText.reverse();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions