]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Note work-around for quick changes to the block level formatting of markdown.
authorhttps://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE <Fergus@web>
Mon, 17 Feb 2014 15:57:56 +0000 (11:57 -0400)
committeradmin <admin@branchable.com>
Mon, 17 Feb 2014 15:57:56 +0000 (11:57 -0400)
doc/forum/formating:_how_to_align_text_to_the_right.mdwn

index 2b56bd70b27de13e12432636a18c38e15698ab2e..e9d4008a293bd490a07289e95de17089a29c7c79 100644 (file)
@@ -1,4 +1,4 @@
-as in title, how to align text to the right?
+As in title, how to align text to the right?
 
 > Add to your local.css a class that aligns text to the right:
 
@@ -13,3 +13,8 @@ as in title, how to align text to the right?
 > [[templates/note]] template does something similar. --[[Joey]]
 
 >> Thanks!
+
+-----
+> Doing this myself and noted that [[markdown]] down does not allow the use of block level elements directly and thus, cannot switch the `span` suggested above for `div` in changing block level elements.  Perhaps the *correct* thing to do here is create a template **but** a workaround I found useful was to over-ride the `inline` nature of the `span` element, as follows
+     .align_right { display: block ; text-align: right ; }
+> you may also like to remove the padding and margins since they will be provided by the enclosing block.