projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73bb42c
)
response
author
Joey Hess
<joey@kitenet.net>
Tue, 8 Jun 2010 19:00:58 +0000
(15:00 -0400)
committer
Joey Hess
<joey@kitenet.net>
Tue, 8 Jun 2010 19:00:58 +0000
(15:00 -0400)
doc/forum/formating:_how_to_align_text_to_the_right.mdwn
patch
|
blob
|
history
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 832a8cea3867a25928932537a4033af3bd7f2fb2..0b334364936dd459aaec1ba99c50ed04f96a3359 100644
(file)
--- 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]]