The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

RTL in Markdown!-WordPress

  • # February 20, 2013 at 7:57 am

    markdown is great but it doesnt support “rtl”! you can’t write languages like Persian or Arabic or Hebrew with just having Markdown and basic html ability!! for solving this i want to allow my users to write unfiltered html for having a paragraph with **dir=”rtl”**! i know its not cool to let users having unfiltered html but i dont have another choice! my question is: is there any other way to have **direction=right to left** without letting everyone else *unfiltered html* ability?! or is unfiltered html ability a bad thing to do in WordPress?!

    # February 20, 2013 at 8:20 am

    This thread has some good info about a JavaScript port of Markdown that added right-to-left support:

    # February 20, 2013 at 8:29 am

    thanks @tomrogers123 but it’s just JS and not actual HTML that stores in database!

    # February 20, 2013 at 8:46 am

    Still, if this is the only option, you could post it via an AJAX call, couldn’t you?

    # February 20, 2013 at 9:03 am

    @tomrogers123 you are right man! :) i think about it and i understand that i can simply use rtl (and css) in comment sections to show user comments in right to left format! as easy as a pie! :)

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed