Skip to content

bluemix/hexo-tag-ltr

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
 
 
 
 
 
 

hexo-tag-ltr

Force LTR layout direction when used in a mixed RTL and LTR texts

About

This is a Hexo tag plugin for changing the direction of your writing (layout)

Installation

npm install --save hexo-tag-ltr

Usage

{% ltr [css class]%}
  LTR text
{% endltr %} 

css class defaults to div

Example

this is a Arabic document, but wants to have and LTR direction

{% ltr div %}
{% blockquote  Richard Feynman %}
 What I cannot create, I do not understand.
{% endblockquote %}
{% endltr %}

and

مقتطفات من بعض الحكم

{% ltr %}
“A small leak will sink a great ship.” - Benjamin Franklin
{% endltr %}

"لو أنك عشتَ في الماضي و تصرفت كأنك في الماضي ، سوف يكون صعباً على المُستقبلِ أن يراكَ." - Body of Lies

which results in screenshot.png

Authors

blueMix

About

Hexo forcing left-to-right (LTR) direction

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published