Here is a direction-aware version of the typography plugin #9071
amirhhashemi
started this conversation in
Show and tell
Replies: 1 comment
-
Ooh nice stuff! Just as an extension of your idea, how about importing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been building a note-taking app that needs to support both RTL and LTR content. I'm using the typography plugin but unfortunately, it only supports LTR content so I customized the plugin to support both. I just replaced all
left
andright
properties withinline-start
andinline-end
logical properties. All other properties are untouched.As you can see blockquote and lists are styled properly. The only thing you need to do is to add this to your
tailwind.config.js
file:Beta Was this translation helpful? Give feedback.
All reactions