From: fr33domlover Date: Mon, 10 Nov 2014 22:52:13 +0000 (-0400) Subject: Update RTL tip to use dir instead of class X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/ee53fbdacfa5b8fc6da54db57bb7cdb7af414e72?ds=sidebyside Update RTL tip to use dir instead of class --- diff --git a/doc/tips/Right-to-left___40__RTL__41___page_text.mdwn b/doc/tips/Right-to-left___40__RTL__41___page_text.mdwn index 2b176c811..339f05ba7 100644 --- a/doc/tips/Right-to-left___40__RTL__41___page_text.mdwn +++ b/doc/tips/Right-to-left___40__RTL__41___page_text.mdwn @@ -10,7 +10,7 @@ footer. Only what is rendered from the mdwn file is affected. Create a new template page *templates/rtl.mdwn* with the following content: -
+
@@ -21,18 +21,7 @@ Create a new template page *templates/rtl.mdwn* with the following content: -# 2 Add an RTL class to the CSS - -In your *local.css* add the following: - -[[!format css """ -/* rtl template */ -.rtl { - direction: rtl; -} -"""]] - -# 3 Use the Template +# 2 Use the Template To make a page or part of it RTL, use the [[ikiwiki/directive/template]] directive: