diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2014-02-17 13:31:45 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-02-17 13:31:45 -0400 |
commit | 3602eea8c242b7083ba01367094abf5d32f65c9c (patch) | |
tree | 07c7084dbb3719ec72bacc765a33b8259430bd86 | |
parent | 205ac1ec797431c512a3d4f882b95e8c8368de47 (diff) | |
download | ikiwiki-3602eea8c242b7083ba01367094abf5d32f65c9c.tar ikiwiki-3602eea8c242b7083ba01367094abf5d32f65c9c.tar.gz |
another way to do this: [[!format]]
-rw-r--r-- | doc/forum/formating:_how_to_align_text_to_the_right.mdwn | 23 |
1 files changed, 23 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 2eaa29d02..290982778 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 @@ -26,3 +26,26 @@ As in title, how to align text to the right? >> .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. -- fergus + +<div class="notebox"> +[[!format mdwn """ +This is my text with [a markdown link](#). + +Here's a *second* paragraph. +"""]] +</div> + +>> There is more than one way to do it. If [[plugins/format]] is enabled, then this: +>> +>> <div class="notebox"> +>> \[[!format mdwn """ +>> This is my text with [a markdown link](#). +>> +>> Here's a *second* paragraph. +>> """]] +>> </div> +>> +>> is rendered like the box in this page. +>> +>> (I'm using the `notebox` class used by the `note` template here, but you could +>> use any class.) --[[smcv]] |