diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-08 15:00:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-08 15:00:58 -0400 |
commit | 7f3c809fe8c9691a54cb065f0e331c7d041ed611 (patch) | |
tree | 92cb182c706dbd0e0c553609c1c1a215c61a2337 | |
parent | 73bb42ccf0e3240f8fecc9a543bfff435bb27a02 (diff) | |
download | ikiwiki-7f3c809fe8c9691a54cb065f0e331c7d041ed611.tar ikiwiki-7f3c809fe8c9691a54cb065f0e331c7d041ed611.tar.gz |
response
-rw-r--r-- | doc/forum/formating:_how_to_align_text_to_the_right.mdwn | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/formating:_how_to_align_text_to_the_right.mdwn b/doc/forum/formating:_how_to_align_text_to_the_right.mdwn index 832a8cea3..0b3343649 100644 --- a/doc/forum/formating:_how_to_align_text_to_the_right.mdwn +++ b/doc/forum/formating:_how_to_align_text_to_the_right.mdwn @@ -1 +1,13 @@ as in title, how to align text to the right? + +> Add to your local.css a class that aligns text to the right: + + .alignright { text-align: right; } + +> And then you just just use `<span class="alignright">` around +> other html. +> +> You can refine that, and allow right-aligning markdowned text +> by using the [[ikiwiki/directive/template]] +> directive, with a template that contains the html. The +> [[templates/note]] template does something similar. --[[Joey]] |